Reputation: 1
I work with the synchronization application. How do I "roughly" open the database (Core Data) to perform 10,000 operations (delete, save, etc.) and then close?
I understand that now works like this:
Correct if wrong, I will be only too happy
Upvotes: 0
Views: 349
Reputation: 9813
Just do your 10,000 operations and at the end save the managed object context. Just make sure to save at the end and not after each object. This will speed up the progress dramatically.
Upvotes: 1