Re: Are instances of a NSManagedObject subclass usable as regular objects?
Re: Are instances of a NSManagedObject subclass usable as regular objects?
- Subject: Re: Are instances of a NSManagedObject subclass usable as regular objects?
- From: Jens Alfke <email@hidden>
- Date: Tue, 14 Feb 2017 17:10:10 -0800
> On Feb 14, 2017, at 3:16 PM, Daryle Walker <email@hidden> wrote:
>
> How do I give managed objects enough permanence to be used with systems expecting normal objects?
Managed objects are regular NSObjects and are ref-counted the same way. To keep one around, just use a regular strong reference.
—Jens
_______________________________________________
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