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
I've been running down slow scroll performance and I've noticed that when I scroll and setImage gets called with non-cached images, the performance lags while t
I don't understand how does packet tunnel work and also don't understand where use packet tunnel in view controller. My .ovpn file is working fine but not conne
This questions pertains to macOS, not iOS. Note that this question is being reported as a duplicate of this question. The answers on that page pertain either t
I want to create a random pixel generator in swift. How would I be able to create something like the below codes in swift? Java program to demonstrate creatio
So i am trying to monitor the connection status by closers : func reconnect(success: @escaping () -> Void, failure: @escaping () -> Void) { let ma
I have viewController with tableView inside it. this tableView has many sections and rows. when I try to add a new row in the last section using TableView.inse
I suspect this is a finicky configuration issue that I'm getting wrong with Document Type / UTI declarations in my Info.plist, but have tried several things and
After unsuccessfully trying to get iCloud document storage to work on the watch Watchkit Extension Cannot Read from iCloud I tried to simply use the keystore.
Is there a standard way to bind, say, a TextField to an associated value of an enum? So, given this: enum Choice { case one(String) case two(String) } C
How to flip an UIImage vertically (up/down)? This is a question that is asked before... Flip UIImage Along Either Axis How to flip UIImage horizontally? How to
I am trying to create an enum of a struct that I would like to initialize: struct CustomStruct { var variable1: String var variable2: AnyClass var
I'm using Swift and Firestore database to implement an app like Twitter. I want to add sweet (it's like tweet) when button is clicked to the database. And then
I have a project with target frameworks. MainAppTarget FrameworkA FrameworkA is the only one to use a certain pod, hence in my pod file I have something like
macOS Monterrey 12.0.1 (21A559) Xcode 13.3.1 (13E500a) iOS app deployment target 10.0 I have been working with this app for a few years now, when the Apple auth
Is it possible to use more than one coreLocation service at the same time? For example, significantLocationChange and visits together
In my SwiftUI App, i used a WKWebView to update some html tags from native side, using SwiftUI TextFields and a TextEditor. To get the communication working, i
I'm trying to incorporate Stripe into an iOS app using Firebase Functions. I'm following the Stripe documentation for "Accepting a payment" in Swift with Node b
I tried to position the Tile Map so that the bottom left of it is attached to the bottom left of the screen. Below is the code i tried to use: func setUpSceneW