Post

Replies

Boosts

Views

Activity

Reply to Segmentation fault vs Variable ... used before being initialized
The original code compiles but has 8 arguments for init (by compiles I mean that the corrected one compiles for all version of xCode we tested with. The comma in init is my mistake. I forgot to remove it when I removed the other arguments from init to illustrate the problem here. Sorry for that (I think I cannot edit the question any longer). Thank you Claude31 for pointing this out.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21