• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Are instances of a NSManagedObject subclass usable as regular objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Are instances of a NSManagedObject subclass usable as regular objects? (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: makeKeyAndOrderFront not working
  • Next by Date: Re: Sometimes all my menus are disabled
  • Previous by thread: NSArrayController still doesn't support NSOrderedSet? (was: Are instances of a NSManagedObject subclass usable as regular objects?)
  • Next by thread: Problem with NSWindowCollectionBehaviorCanJoinAllSpaces
  • Index(es):
    • Date
    • Thread