Re: NSArrayController question...
Re: NSArrayController question...
- Subject: Re: NSArrayController question...
- From: T Reaves <email@hidden>
- Date: Mon, 30 May 2005 18:27:40 -0400
On May 30, 2005, at 1:38 PM, mmalcolm crawford wrote:
On May 30, 2005, at 7:18 AM, T Reaves wrote:
On May 30, 2005, at 12:26 AM, mmalcolm crawford wrote:
On May 29, 2005, at 8:43 PM, T Reaves wrote:
If I create two different NSArrayController, both set to the
same entity, should they both handle the same set of objects?
Because I'm not seeing that they are. The second one appears to
have no content.
In general, no, they won't. You have to specify how they get
their content...
I thought setting their managedObjectContext binding did that.
Ummm, no, all that does is specify the managed object context...
With the fist one, for it to display the extent of the entity,
that is all I had to do.
What other options are set for the controller...?
managedObjectContext & entity are all that are specified for
each of the two controllers. On controller shows all instance of the
entity, as well as allowing adds & deletes, and the second controller
shows no instances of the entity.
_______________________________________________
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