-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a complete newbie when it comes to iOS programming and much less Core Data. It's rather non-intuitive for me, as I really came into my own with programming with MATLAB, which I guess is more of a 'scripting' language.
At any rate, my problem is that I had no idea what I had to do to create a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems, when i install app from Xcode all works but if I build app and install it from iTunes I have an error with the database at launch.
This happens only than i have changes in the core data model and need to migrate to a new version.
At first launch at crashes with message:
Thread 0:
0…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My app makes updates in background thread then saves context changes.
And in main context there is a table view that works with NSFetchedResultsController.
For some time updates work correctly, but then exception is thrown.
To check this I've added NSLog(@"%@", [self.controller fetchedObjects]); to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm have an issue where i'm updating a many-to-many relationship in a background thread, which works fine in that threa, but when I send the object back to the main thread the changes do not show. If I close the app and reopen the data is saved fine and the changes show on the main thread. Also using…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I know this question has been asked before, and I took a look at the answer to this question. However, I'm still confused as to how to implement reordering with a UITableView in a Core Data project. What I know is that I need to have a "displayOrder" attribute in my Entity to track the order of items…
>>> More