• 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: Core Data: Single entity in NSDocument?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: Single entity in NSDocument?


  • Subject: Re: Core Data: Single entity in NSDocument?
  • From: mmalc crawford <email@hidden>
  • Date: Thu, 6 Jul 2006 21:04:02 -0700


On Jul 6, 2006, at 9:26 AM, Michael Anckaert wrote:

I have a Core Data application with a NSDocument structure. I want each NSDocument to have only 1 entity, not an array of entities.
If I create an entity called Ent1, I can only display a list of entities in my document, using an array controller and the selection control key.
How can I only have 1 entity in my document? So instead of an array controller, I'd need an object controller or something.
Is this possible with Core Data?


<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/index.html >
<http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/index.html >


mmalc


_______________________________________________ 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: 
 >Core Data: Single entity in NSDocument? (From: Michael Anckaert <email@hidden>)

  • Prev by Date: Re: Custon toolbar items and size
  • Next by Date: Re: question about -init methods
  • Previous by thread: Re: Core Data: Single entity in NSDocument?
  • Next by thread: Re: Core Data: Single entity in NSDocument?
  • Index(es):
    • Date
    • Thread