Ah, nevermind. That's what happens when you save in your batch update loop.

> On Feb 27, 2015, at 23:23 , Rick Mann <rm...@latencyzero.com> wrote:
> 
> 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
> rm...@latencyzero.com
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com
> 
> This email sent to rm...@latencyzero.com


-- 
Rick Mann
rm...@latencyzero.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to