Post

Replies

Boosts

Views

Activity

Reply to Trace/BPT trap: 5
Cancel my comment about the canvas - the default code puts the list in a NavigationView and reflected a Date() attribute the I had created in the PersistenceController - so all good.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to Trace/BPT trap: 5
I hit the same error immediately after starting a new project with CoreData, using the default generated code (Xcode 13.3.1) and adding a new View over a new, different Entity. I changed the default PersistenceController preview to reference the new Entity and the the crash disappeared. Two beers all around. However, I don't fully understand the relationship - now the new canvas View reflects the data from the default View and the simulator reflects no data - nuts! Let the elimination process begin, Watson!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to SwiftData and 'Circular references'
I have been struggling with this for weeks. I am about to try your code @SpaceMan , but I am confused why the ChildItem has the item property as an optional. Surely every ChildItem should have a MainItem? Also, I think that I understand 'final', but why are your Models public?
Replies
Boosts
Views
Activity
Sep ’23
Reply to Xcode 15 beta 5 crashes on creating a file
Easy temporary fix - drag and paste the created file from Finder into the project.
Replies
Boosts
Views
Activity
Aug ’23
Reply to Trace/BPT trap: 5
Cancel my comment about the canvas - the default code puts the list in a NavigationView and reflected a Date() attribute the I had created in the PersistenceController - so all good.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Trace/BPT trap: 5
I hit the same error immediately after starting a new project with CoreData, using the default generated code (Xcode 13.3.1) and adding a new View over a new, different Entity. I changed the default PersistenceController preview to reference the new Entity and the the crash disappeared. Two beers all around. However, I don't fully understand the relationship - now the new canvas View reflects the data from the default View and the simulator reflects no data - nuts! Let the elimination process begin, Watson!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22