However, I ve faced a kind of challenge and I am looking for explanation and help
I am using NSFetchedResultsController to fetch data and show it in table view. The problem is the app crashes when I tried to delete any row, with this error message -> " *** Terminating app due to uncaught exception ‘NSRangeException’, reason: ‘*** -[_PFArray objectAtIndex:]: index (4) beyond bounds (4)’"
However, I can delete any row successfully only when I nil the “sectionNameKeyPath”
Hi gregheo,
Thanks for your video that help me understand FetchedResultController in the app, but for now, the fetchedResultController always fetched ALL objects in sqlite database although I already set fetch batch size on NSFetchRequest. Can u help?
Hi, everyone!
Does anyone managed to get the Core Data Instruments work? All I found is:
This is a known issue with macOS 10.12. You should be able to launch your app in the simulator yourself and then attach to it with Instruments. Unfortunately, using Instruments to do the launching doesn’t work right now for the Core Data instruments.
@rastakong@pavoleg I can’t be sure but it is possible that your simulator version is outdated or something. I haven’t been able to reproduce this issue unfortunately.