Post

Replies

Boosts

Views

Activity

Reply to SwiftUI App crashes in main method on Startup (macOS 11)
This no longer results in a crash. I get the following message in the console, when multiple elements have the id as nil inside a List. ForEach<Array<ArrayData>, Optional<Int>, Text>: the ID nil occurs multiple times within the collection, this will give undefined results! Make sure the identifiers are unique, if not multiple views will look the same but it will not crash.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
Reply to how can i get "my card" from CNContactStore with swift
In case anyone is still looking, this is now possible via CNContactStore using this unifiedMeContactWithKeys(toFetch:) method. Supported in all apple platforms.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to SwiftUI App crashes in main method on Startup (macOS 11)
This no longer results in a crash. I get the following message in the console, when multiple elements have the id as nil inside a List. ForEach<Array<ArrayData>, Optional<Int>, Text>: the ID nil occurs multiple times within the collection, this will give undefined results! Make sure the identifiers are unique, if not multiple views will look the same but it will not crash.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23