I'm working on a data-driven iOS app. I've finished a helper mac os app with core data&cocoa Bindings to prepare data to preload on the iOS app.
Suddenly on using the pre-loaded .sqldata file, I found empty objects. I was using NSArrayController's add/removeObjects methods in the helper app. I think the problem is that removeObjects doesn't really delete the objects from the database table.
Any help please to make sure it is deleted successfully from database, not only from the array controller?
Ok, I solved the problem. The problem was that I deleted the object from the NSArrayController, but forgot to delete it first from the ManagedObjectContext.