• 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: MOC & Different objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MOC & Different objects


  • Subject: Re: MOC & Different objects
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 20 Jul 2006 09:04:48 -0400


You may need to carefully rephrase your question. I'm confused whether you're asking how / where to check that two managed objects' contexts are the same or whether you're asking how to assign an object to a context.


--
I.S.


On Jul 20, 2006, at 9:00 AM, Bobby B wrote:

Hello,

I'm trying to find out if multiple objects have access to the same
ManagedObjectContext.  I'm using CoreData, and everything (of course)
is loaded in my primary _AppDelegate file.  But let's say I have an
object that needs to access the MOC that the primary AppDelegate is
in.  How can it access it?  Should I just pass the AppDelegate's MOC
to the object when I initialize the object?

Thank you
Bobby B
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >MOC & Different objects (From: "Bobby B" <email@hidden>)

  • Prev by Date: [SOLVED] Scrolling behavior ala Preview
  • Next by Date: Re: [SOLVED] Scrolling behavior ala Preview
  • Previous by thread: MOC & Different objects
  • Next by thread: [SOLVED] Scrolling behavior ala Preview
  • Index(es):
    • Date
    • Thread