Post

Replies

Boosts

Views

Activity

Reply to List Cell - Modifying associated object causes reload of whole list
On loading the view I get ProjectEditColourListView: @self, @identity, _viewContext, _editMode, _colourList, @64, @88, _searchText, _isShowingFilterView, _appSetting, _filters changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @88 changed. Then after selecting a cell ProjectEditColourListView: @88 changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @88 changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @self changed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to Filtered list when going back from pushed view
Seems like I can alter the onAppear method to do what I want .onAppear() {             items.nsPredicate = NSPredicate(format: "series = %@ AND amount = 0", series)             if(!searchText.isEmpty) {                 items.nsPredicate = NSPredicate(format: "series = %@ AND amount = 0 AND name CONTAINS[cd] %@", series, searchText)             }         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to EXC_BAD_ACCESS When saving core data
When adding the launch argument it straight away crashes on the fetch in the getHowManyProjectsToUpdate() method with Thread 9: EXC_BREAKPOINT (code=1, subcode=0x199aa51c4) The below is printed to the console CoreData: annotation: Core Data multi-threading assertions enabled.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to List Cell - Modifying associated object causes reload of whole list
On loading the view I get ProjectEditColourListView: @self, @identity, _viewContext, _editMode, _colourList, @64, @88, _searchText, _isShowingFilterView, _appSetting, _filters changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @88 changed. Then after selecting a cell ProjectEditColourListView: @88 changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @88 changed. ProjectEditColourListView: @self changed. ProjectEditColourListView: @self changed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to UIImage causes memory to run out
After a bit of digging it appears the issue isn't related to to conversion itself. It's occurring when writing the data to core data. I can resolve it by refreshing the context after each project save, but not sure if its the best way of doing it.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Filtered list when going back from pushed view
Seems like I can alter the onAppear method to do what I want .onAppear() {             items.nsPredicate = NSPredicate(format: "series = %@ AND amount = 0", series)             if(!searchText.isEmpty) {                 items.nsPredicate = NSPredicate(format: "series = %@ AND amount = 0 AND name CONTAINS[cd] %@", series, searchText)             }         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22