In a SwiftUI app on MacOS I want to allow a users to select a file from the MacOS filesystem. I try to use AppKits NSOpenPanel . I tried like this, but I'm not
I'm creating multiple nodes automatically and I want to arrange them around me, because at the moment I'm just increasing of 0.1 the current X location. capsu
I need to add DeepLinking to my React Native app, and as mentioned in docs I need to add the method above @and. // Add this above `@end`: - (BOOL)application:(U
In my App struct, I have a small function that checks to see if the user has opened the app before. If not, it shows an onboarding view with a few questions. Ri
I am trying to add a constraint to a tableview I created and added to view programatically. I want to constraint it based on a UITextField which is an IBOutlet.
TLDR; I want to get locations outside the main thread using a different function but I am receiving delays. In details: I'm performing a GET request. later on I
I have a SwiftUI application, which uses Firebase as a back end, and my rules are something like this: rules_version = '2'; service cloud.firestore { match /d
I have some SPM swift packages as part of my swift project. After some Xcode crashes, those packages don't appear in the Schema selector (black arrow in image)
At this answer the solution work for Scene plus swiftUI. However using @main like: @main struct MyApp: App { @StateObject private var model = MyModel()
I'm trying to open another controller by tapping on the cell of my tableView. I'm coding with MVVM and Coordinator pattern. In the beginning we see this screen
I've been searching a lot, but didn't find the same problem as my on StackOverflow or anywhere else. Setup Info.plist ViewControllerBasedStatusBar set to YES St
I have two apis Login DataShow when i login server gives me token which remains valid for only 6 hours and i am saving it in userdefaults, so that user will not
Prior to swift 3, i used to use for example: let path = self.tableView.indexPathForSelectedRow if (path != NSNotFound) { //do something } But now, since i u
I have ParentViewController.swift and ChildContainer.swift. In ParentViewController, I have bar button item action like below : @IBAction func onClickBarItemRef
I'm using a UIScrollView (UIScrollView_1) with paging enabled to move between 3 pages horizontally. On the last page there is multiple UIScrollViews (each one i
I'm trying to get the steps and distance walked from a concrete day to now, on an iOS app. Also, I need to refresh that data continuously, real-time like. I tri
I have a card view. Which sizes I give myself. I know that is wrong. I want to do it resizable and divided by percent like blue = 70% & red = 30% or somethi
I have tried to make an NSFetchRequest in many different ways and each time I get this error: "Cannot find type 'NSFetchRequest' in scope" Here are the specific
How to change just one toggle in a list without subviews? I know how to make it work if I extract Subview from everything inside ForEach, but how to do it on on
I am trying to integrate CI-CD using Fastlane all the lanes are working fine in my personal laptop but when I try to push it on my repo and after the job starts