-controllerWill/DidChangeContent: called for every change
-controllerWill/DidChangeContent: called for every change
- Subject: -controllerWill/DidChangeContent: called for every change
- From: Rick Mann <email@hidden>
- Date: Fri, 27 Feb 2015 23:23:13 -0800
According to the docs, it's supposed to be called once at the start, and again at the end. But it's being called for every single change. In these calls, I call beginUpdates and endUpdates on my table view. Partway through, my table view complains about mismatched inserts/deletes, etc.
The action that initiates this is a bulk change to a bunch of the entities in the NSFetchedResultsController's set. The FRC has a predicate "removed == false". The bulk update changes "removed" to true. I get a deleted change type (not updated) for each object, bracketed by will/did change calls.
All of this happens in the -[MOC save:] call after the updates.
Am I missing something?
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden