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 (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