Re: NSArrayController question...
Re: NSArrayController question...
- Subject: Re: NSArrayController question...
- From: T Reaves <email@hidden>
- Date: Mon, 30 May 2005 21:28:03 -0400
On May 30, 2005, at 6:41 PM, mmalcolm crawford wrote:
On May 30, 2005, at 3:27 PM, T Reaves wrote:
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.
Each array controller manages its own array. If you don't do
anything to keep them synchronised, they won't be synchronised...
That would explain why they would get out of sync, but their
initial state (an array of all instances) should be the same.
If I read in an array and send setContent:myArray on both, will
that insure they stay in sync?
_______________________________________________
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