Post

Replies

Boosts

Views

Activity

Comment on Segmentation fault vs Variable ... used before being initialized
FB9473730 (Segmentation fault in newest xCode vs Variable ... used before being initialized in older version)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Segmentation fault vs Variable ... used before being initialized
Thank you for the explanation. I reported the bug.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Segmentation fault vs Variable ... used before being initialized
Thank you, this seems to work. I'm not a Swift expert and I'm not claiming that the first example of code should work or even compile. But why would we trade a compiler error for a runtime crash, seems weird to me.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21