Re: Selected Entity
Re: Selected Entity
- Subject: Re: Selected Entity
- From: Charles Ross <email@hidden>
- Date: Thu, 25 May 2006 08:15:05 -0700
OK, but how do I get the NSArrayController? I'm in the source code
for MyDocument, which is a subclass of NSPersistentDocument, which
has a method for returning the associated NSManagedObjectContext (am
I correct in that?). The NSArrayController is bound to the
NSManagedObjectContext, so is there a way to get it? Then I can use
the selection method, but I have to get it first, right? Or am I
missing something.
Thanks,
Chuck
On May 25, 2006, at 7:00 AM, George Orthwein wrote:
The model (Core Data) doesn't manage the selection, you'll want to
look at the NSArrayController and selectedObjects.
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/CntrlSelection.html
George
_______________________________________________
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