Post

Replies

Boosts

Views

Activity

NavigationLink/Picker
I have a form container with a Navigation Stack at the top level. In a section I have a Navigation link followed by Picker(s) . On its own the navigation link works correctly but when a HStack with Text and Picker is added the navlink breaks . When the link is selected the picker list is presented. It seems others have had this issue which is usually solved by adding the NavigationStack , which is already at the top level. Any guidance is appreciated ( or work around - I added a section between the link and picker but that didn't help ) Joel
Topic: UI Frameworks SubTopic: SwiftUI
7
0
636
Jul ’24
SwiftData multiple loop entries not inserting
For an array only the last row is inserted where print shows the loop is processed for index in 0..<model.dataTable!.rows.count { let row = model.dataTable!.rows[index] catagory.name = row["Catagory"] as! String context.insert(catagory) print(catagory.name) } tried a forced try?save() which didn't help Thanks Joel
3
0
431
Aug ’24
NavigationLink/Picker
I have a form container with a Navigation Stack at the top level. In a section I have a Navigation link followed by Picker(s) . On its own the navigation link works correctly but when a HStack with Text and Picker is added the navlink breaks . When the link is selected the picker list is presented. It seems others have had this issue which is usually solved by adding the NavigationStack , which is already at the top level. Any guidance is appreciated ( or work around - I added a section between the link and picker but that didn't help ) Joel
Topic: UI Frameworks SubTopic: SwiftUI
Replies
7
Boosts
0
Views
636
Activity
Jul ’24
SwiftData multiple loop entries not inserting
For an array only the last row is inserted where print shows the loop is processed for index in 0..<model.dataTable!.rows.count { let row = model.dataTable!.rows[index] catagory.name = row["Catagory"] as! String context.insert(catagory) print(catagory.name) } tried a forced try?save() which didn't help Thanks Joel
Replies
3
Boosts
0
Views
431
Activity
Aug ’24
Unable to Add For Review
Unable to Add For Review I have the messages ; you must select a primary category for your app -- Must be cross-eyed at this point but I cannot locate this field. You must choose abuts -- I see my builds but I cannot choose one , radio button inactive , save greyed out. Thanks Joel
Replies
1
Boosts
0
Views
246
Activity
Jan ’25