Skip navigation.
 
mlCore Data: Single entity in NSDocument?
FROM : Michael Anckaert
DATE : Thu Jul 06 18:26:10 2006

Hello all,

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?

I know my explanation is a bit obscure, but it's hard to explain :)

Kind regards,
Michael Anckaert

Related mailsAuthorDate
mlCore Data: Single entity in NSDocument? Michael Anckaert Jul 6, 18:26
mlRe: Core Data: Single entity in NSDocument? mmalc crawford Jul 7, 06:04
mlRe: Core Data: Single entity in NSDocument? I. Savant Jul 7, 14:31
mlRe: Core Data: Single entity in NSDocument? Jim Correia Jul 7, 15:03
mlRe: Core Data: Single entity in NSDocument? George Orthwein Jul 7, 15:58