• 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
CoreData : fundamental (or not) questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData : fundamental (or not) questions


  • Subject: CoreData : fundamental (or not) questions
  • From: WhiteContainer <email@hidden>
  • Date: Sun, 19 Mar 2006 15:46:46 +0100

Hi,

Please if someone could answer to the following "theoritical" questions...

1- In which cases is it necessary to create another managedObjectContext, instead of using the default moc of the NSPersistentDocument ? Of course if you have different persistent stores it seems to be necessary, but in the simple case : 1 managedObjectModel, 1 persistentStore ?

2- How can I access the default moc of the document from an entity (I mean by entity, a class created from an entity) ?
Is this the good way : [[[NSDocumentController sharedDocumentController] currentDocument] managedObjectContext]]; ?


3- How can I access the methods of an arrayController from an entity ? I mean the arraycontroller of the entity itself or the arraycontroller of another entity. I think I can't add outlet to entity.h since this file can not be imported in IB. So outlets and actions should only be in MyDocument ?

Thx in advance.
Sunny Spring Rgds
_______________________________________________
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


  • Follow-Ups:
    • Re: CoreData : fundamental (or not) questions
      • From: Joshua Scott Emmons <email@hidden>
  • Prev by Date: Re: Embedding a Framework within a Framework
  • Next by Date: BiDirectional NSLevelIndicator
  • Previous by thread: Is Core Data Daemon Safe?
  • Next by thread: Re: CoreData : fundamental (or not) questions
  • Index(es):
    • Date
    • Thread