Questions tagged [swift]

0 votes
0 replies
following in getStream for iOS does not seems to be working
I m using below code to follow. I m not getting any callback. let loggedInUserFeedId = FeedId(feedSlug: "timeline", userId: Client.shared....
asked 1 month ago
0 votes
1 replies
How to make generated text in a todo list come out colored
I am making a simple to do list tabbed app, where you type in a text box and it will generate the text on the second view controller. There are f...
asked 1 month ago
0 votes
0 replies
GeoSearch returns nothing
So I am working on migrating my geoSearch functionality from GeoFire to Algolia because there are more options as far as filtering, and many othe...
asked 1 month ago
0 votes
1 replies
How can I access the text content (kMDItemTextContent) of an NSMetadataItem in Swift?
I'm trying to access the text representation of NSMetadataQuery results using Swift. However, the attribute kMDItemTextContent which contains a f...
asked 1 month ago
0 votes
0 replies
Swift - PageControl moves views of UIPageViewController
I'm currently trying to add page indicator (PageControl) to my UIPageViewController. Browsing the web I found out that by adding presentationCoun...
asked 1 month ago
1 votes
1 replies
problem with .reloadData () when going between VC
I try to use custom transition animation:https://github.com/AladinWay/TransitionButton It works as it was intended, but for some reason, after s...
asked 1 month ago
0 votes
1 replies
queryOrdered doesn't always return data on tableViewCell in correct order
I am trying to order data on the notifications page from new to old based on timestamp, right now - when i run it, sometimes it is in the correct...
1 votes
0 replies
Can't get rid of 'no rule to process file' warnings and 'duplicate output file' errors in framework upon pod linting
Problem Pod lib lint passes with warnings about "no rules to process files" in the .xcodeproj/ folder of my framework. Pod spec lint fails with...
asked 1 month ago
-1 votes
1 replies
How to use HDR Colors in an iOS project?
I'd like to utilise the HDR display on OLED iPhone's for my apps to display vibrant colors like I've seen is possible in the iOS game 'FROST'. To...
asked 1 month ago
0 votes
1 replies
Why am I not seeing objects that I'm adding to my storyboard in my ViewController.swift file?
I'm new to Xcode and I'm having a hard time understanding the platform. I would like to know why whenever I'm adding objects (buttons, labels, im...
asked 1 month ago
0 votes
0 replies
UIDocumentPickerViewController customActions?
does anybody knows if there is option to add customAction to UIDocumentPickerViewController like you can do in UIDocumentBrowserViewController? O...
0 votes
1 replies
Retrieve Multiple Child branches Firebase Swift 4 in TableView
The real-time database structure of firebase is as follows: Then, I intend to show the values for each of the children in several table view as...
-2 votes
2 replies
Error: Value of type 'CGRect' has no member 'center'
Trying to create layout for a circular collection view. Everything seems well apart from when I try to center the position. override func prepar...
asked 1 month ago
1 votes
2 replies
ARKit – How to display the feed from a virtual SCNCamera placed on SCNPlane?
I put some objects in AR space using ARKit and SceneKit. That works well. Now I'd like to add an additional camera (SCNCamera) that is placed els...
-1 votes
3 replies
How to handle error in swift when server is not available?
How to handle error for this server call when the server is not available or is down? func createData(request:Crudpb_CreateRequest, with complet...
asked 1 month ago
-1 votes
1 replies
How to create different instances of the RatingControl Class in Apple Developer Tutorial?
I need to create a very similar class of the RatingControl class that you make when you create the FoodTracker tutorial. Only difference with min...
asked 1 month ago
0 votes
1 replies
Swift: How should I subtract 5 minutes from Datecomponents?
I am working on an app that notifies the user 5 minutes before the departure time. I'm using firebase as my database. I've tried searching answ...
asked 1 month ago
-1 votes
4 replies
How can i working push view controller on swift 5?
Didselect function in CollectionView or TableView; let trial = TrialViewController () self.navigationController?.pushViewController (trial, anim...
asked 1 month ago
0 votes
1 replies
How to show multiple categories per category in a collectionView in Swift?
I need to show multiple categories per each category in Collection View as in the CoreData one category has many categories and the categories is...
asked 1 month ago
0 votes
1 replies
In Here-API how do we show downloaded region package NMAMapLoader in MapView?
I downloaded and run map-downloader-ios-swift (https://github.com/heremaps/here-ios-sdk-examples/blob/master/map-downloader-ios) project and it w...
asked 1 month ago
-2 votes
0 replies
Command CompileSwift failed with a nonzero exit code ( xcode 10.2.1 ) [on hold]
I get this error when I want to run the project. Xcode version 10.2.1. How can I solve this error? -2 0 Answers...
asked 1 month ago
0 votes
0 replies
Load a view to currently visible collectionView Cell only
I am working on an OTT application, Where my requirement is to load the player view currently visible collectionView Cell only, Not on invisible...
asked 1 month ago
1 votes
1 replies
What argument to pass in place of (String) -> void?
Im trying to fix this from a very long time. I can not understand what to pass to this function in place of "(String) -> void" as it was supp...
asked 1 month ago
0 votes
0 replies
how to retrieve the images from firebase storage according to the category of the images as wanted
How to Retrieve the images from firebase storage in which i have manually created folders according the category of my "wallpaper app" and i have...
asked 1 month ago
0 votes
1 replies
issue after zooming i want full image not only zoom part of image
Am dropping a pin on UIImageView for that first i am taking one UIView. Inside UIView i have UIScrollview for zooming functionality and then i...