Re: Getting notified of any change to a specific NSManagedObject?
Re: Getting notified of any change to a specific NSManagedObject?
- Subject: Re: Getting notified of any change to a specific NSManagedObject?
- From: Rick Mann <email@hidden>
- Date: Thu, 15 Nov 2012 16:22:17 -0800
On Nov 15, 2012, at 16:19 , Rick Mann <email@hidden> wrote:
> I know I can use KVO on a specific property of my NSManagedObject, but is there a way to get notified if any property changes? I'm trying to avoid a bunch of -addObserver:… and -removeObserer:… calls.
>
> I know I can listen for the context did save notification, but I'd rather catch the changes immediately.
Ah, I can use NSManagedObjectContextObjectsDidChangeNotification, although that will give me all objects, when really I just want one.
--
Rick
_______________________________________________
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