Re: Detecting Managed Object Property Change From Undo Redo
Re: Detecting Managed Object Property Change From Undo Redo
- Subject: Re: Detecting Managed Object Property Change From Undo Redo
- From: Mike Abdullah <email@hidden>
- Date: Mon, 26 Jan 2015 15:04:26 +0000
> On 26 Jan 2015, at 15:00, Richard Charles <email@hidden> wrote:
>
>
>> On Jan 25, 2015, at 4:16 PM, Jerry Krinock <email@hidden> wrote:
>>
>> The reason I had to run that test is because I don’t use KVO for observing managed object properties. Instead, I use NSNotificationCenter, which has these advantages…
>
> Where do you post the notification from for a managed object property change? It doesn’t work in a managed object's custom public property accessor because the public property accessor is not called during undo redo. Only the primitive set accessor is called.
I expect he’s observing NSManagedObjectContextObjectsDidChangeNotification.
_______________________________________________
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