• 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: CoreData headaches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData headaches


  • Subject: Re: CoreData headaches
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 30 Oct 2016 12:11:01 -0700

On Oct 27, 2016, at 9:02 PM, Steve Mills <email@hidden> wrote:
>
> Yes, the Asset is an NSManagedObject. In this call chain, there is no NSManagedObjectContext in sight.

There is always an NSManagedObjectContext involved; an NSManagedObject doesn’t exist outside one. Fortunately, you don’t need to pass one along with an NSManagedObject, you can just ask the NSManagedObject for the context it’s a part of.

  -- Chris

_______________________________________________

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


  • Follow-Ups:
    • Re: CoreData headaches
      • From: Steve Mills <email@hidden>
References: 
 >CoreData headaches (From: Steve Mills <email@hidden>)
 >Re: CoreData headaches (From: Dave Fernandes <email@hidden>)
 >Re: CoreData headaches (From: Steve Mills <email@hidden>)
 >Re: CoreData headaches (From: Dave Fernandes <email@hidden>)
 >Re: CoreData headaches (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: My god, it is so pleasant with the animations disabled on Sierra.
  • Next by Date: Re: CoreData headaches
  • Previous by thread: Re: CoreData headaches
  • Next by thread: Re: CoreData headaches
  • Index(es):
    • Date
    • Thread