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 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