Post

Replies

Boosts

Views

Activity

Comment on SwiftUI and "Simultaneous access" error
I added a test variable to MainScreenRecs, and updated its value on the Button click, and that doesn't crash it, so I don't think it's a problem with the MainScreenRecs instance being locked or written to somewhere else. My guess is one of the SwiftUI views that is being shown/hidden by the true/false value of isViewingSideBySide is being shown while it's also locked somewhere, maybe?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’22
Comment on Network Framework Ad Hoc Connection via Ethernet
Thanks so much for such a comprehensive answer, this is excellent info, and helps me get the terminology and concepts right.
Replies
Boosts
Views
Activity
Jul ’25
Comment on PolicyDenied on Simulator with Xcode 16 and Network Framework NWBrowser
Thank you!
Replies
Boosts
Views
Activity
Jun ’25
Comment on BGTaskScheduler on Mac Silicon not scheduling
Thank you so much for answering, Kevin. This is really helpful and makes a lot of sense.
Replies
Boosts
Views
Activity
Jun ’24
Comment on SwiftUI and vars outside the SwiftUI world
Hi Claude, thanks for the response. I don't think that's quite the same thing because there aren't UIKit views involved here; it's just values being passed from SwiftUI observable objects into variables being used by plain vanilla classes.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on SwiftUI Navigation Bar appears behind Status Bar
Agreed! I'm kicking myself for not posting it at the time. I must've been in a hurry to get it working. I don't remember exactly what I did, but I found a comment in the code and I'm posting it below.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on Network Framework with multiple clients
I think so--thanks for checking. Do you know why refreshResults gets called when the Set of results is empty? It seems to get called multiple times, and the first call has an empty Set.
Replies
Boosts
Views
Activity
Nov ’23
Comment on Network.Framework background operation
UIApplication Background Task Notes is here now: https://developer.apple.com/forums/thread/85066
Replies
Boosts
Views
Activity
Nov ’23
Comment on Tap on maps to get coordinates
Thank you for posting this! It's very helpful.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on How to add SecIdentityRef to keychain using swift
Quinn: This works, but why does SecItemAdd not require kSecClass? In the example https://developer.apple.com/documentation/security/certificate_key_and_trust_services/identities/storing_an_identity_in_the_keychain it says to use kSecClassIdentity, but this fails for me. Your example works, which doesn't include kSecClassIdentity.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on SwiftUI and "Simultaneous access" error
I added a test variable to MainScreenRecs, and updated its value on the Button click, and that doesn't crash it, so I don't think it's a problem with the MainScreenRecs instance being locked or written to somewhere else. My guess is one of the SwiftUI views that is being shown/hidden by the true/false value of isViewingSideBySide is being shown while it's also locked somewhere, maybe?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22