Re: Why no -[NSManagedObjectContext deleteObjects:] ?
Re: Why no -[NSManagedObjectContext deleteObjects:] ?
- Subject: Re: Why no -[NSManagedObjectContext deleteObjects:] ?
- From: Conor <email@hidden>
- Date: Sun, 02 Sep 2007 13:14:38 +0200
> Deleting an object from a managed object context is relatively cheap
> as it does not impact the persistent store.
But not when it comes to bindings. Deleting one object will send
notifications around. I have to unbind an NSArrayController and then bind it
back up after the enumeration in order to perform a delete of several
objects. NSManagedObject should definitely have a deleteObjects: to avoid
that issue. All that said I would recommend you file an enhancement request
with Apple's bug tracker.
Conor
_______________________________________________
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