My data model property is declared in my table view controller, and the SwiftUI view is modally presented. I'd like the presented Form input to manipulate the d
I'm facing the following problem with SwiftUI Text: In the following example SwiftUI breaks the word "Amazement" into "amazeme" on the first line and "nt" on th
I am in USA (Houston, TX) and I am trying to add a ModelEntity in RealityKit to a specific geo location. But I am not able to see the entity anywhere. Am I doin
My application creates a UITableViewController that contains a custom tableHeaderView which may have an arbitrary height. I've been struggling with a way to set
I'm just getting started with SwiftUI and I was hoping for the best way to tackle the issue of keeping this rectangle in the bounds of a screen during a drag ge
I am extremely new to iOS, with no iOS development experience at all, however, I've been given a task that's related to preparing for iOS 14+. Based on what I'v
I have a function which fetches those objects from a particular entity that fulfill a specified criterion: func fetchWithPredicate(entityName: String, argument
Since ReSwift is based around immutability of State, the Swift struct is obvious choice to work with. But what if I really need a reference type property in a
I using google with sign in. From today morning, google sign in was not working. Not sure why its happening. I am getting error : ID Token expired On my consol
I have an UITableView and I've added edit actions to it. Now I want to add image above the delete buttons label, as: This is my code: func tableView(tableVi
Part way done with learning swift but I hit a small wall and yet again, I'm sure I'm just a bit new at this and an easy solution is there but I'm having trouble
Can anyone write run-length encoding code in swift that is easier to read than the one below or at least explains the one i got from rosettecode.org ? Here is t
I was playing around with the animatableData property for a custom Shape I made but I couldn't really visualise what it does and where the system uses it. I did
I am creating a custom list displaying time information (minutes and seconds, not used in the snippet below to simplify the code). I managed to implement a nice
I would like to make a UILabel clickable. I have tried this, but it doesn't work: class DetailViewController: UIViewController { @IBOutlet weak var tripD
I have two functions that help me show different animations on my SKSpriteNode, but I need the alpha mask of this Sprite to change whenever the texture changes
I have a WKWebView that I want to ask to call a number when the number is selected. The contents of the web view contain the HTML anchor tag "tel:" and i am loo
help, please, I need your help. There is a project that runs in the simulator without problems, but when installed on a device (iphone 7) crashes (when opened).
I have a project that will not compile, after upgrading to Xcode 13.3 The error is Type 'CircularBuffer<Element>' does not conform to protocol 'MutableCol
I've already made a table view which allows the user to add tasks to the table view, but now I need to add a checkbox in front of each task, so that the user ca