python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Working with Timers in SwiftUI table view
I am trying to have a live count down timer in my SwiftUI TableView, but it's currently not updating. I have done this in UIKit and trying a similar approach with SwiftUI's lifecycle, but currently no...
tHatpart
Votes: 0
Answers: 0
Published Bool variable resetting automatically
I have the following simple SwiftUI view which contains a component containing a list of marketing preference options with checkboxes and a button to update the preferences:
@StateObject var marketing...
DevB1
Votes: 0
Answers: 1
Best practices for combining @published arrays in real time?
So I'm writing code that can find nearby users using both locally (MultiPeers and Bluetooth Low Energy) and through network (Using a real-time database to find nearby users by their location
class...
Micheal S. Bingham
Votes: 0
Answers: 1
Use of @StateObject in Document-based SwiftUI application: getting instances instead of references
I am trying to use a @Stateobject in my document as source of truth for the dataModel behind the document. However, it seems I am doing something wrong as I appear to get different instances for the d...
nonresidentalien
Votes: 0
Answers: 1