FROM : I. Savant
DATE : Thu Jul 20 15:04:48 2006
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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
> 40gmail.com
>
> This email sent to <email_removed>
DATE : Thu Jul 20 15:04:48 2006
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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
> 40gmail.com
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Bobby B | Jul 20, 15:00 | |
| I. Savant | Jul 20, 15:04 |






Cocoa mail archive

