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: Kyle Sluder <email@hidden>
- Date: Tue, 27 Jan 2015 12:28:23 -0600
On Tue, Jan 27, 2015, at 12:21 PM, Richard Charles wrote:
> You can’t override a primitive accessor because one is dynamically
> generated for you at runtime if it is needed. If a custom primitive
> accessor is implemented then the managed object subclass must provide an
> ivar for backing storage. The custom primitive accessor can’t use Apple’s
> backing store because the private internal store used by Core Data for
> managed objects is not exposed.
Historically, I've not been a big Core Data user, but does
-[NSManagedObject setPrimitiveValue:forKey:] not do what you want?
--Kyle Sluder
_______________________________________________
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