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.
Aug ’23