Re: NSPopupButton with NSArrayController
Re: NSPopupButton with NSArrayController
- Subject: Re: NSPopupButton with NSArrayController
- From: "I. Savant" <email@hidden>
- Date: Sat, 6 Jan 2007 14:59:54 -0500
On Jan 6, 2007, at 2:33 PM, Ferhat Ayaz wrote:
Aren't they allocated separatly?
??
If you mean the array controllers, yes, since they're separate
instances of a class, they're allocated separately ... but that has
nothing to do with anything.
Their content object is the same. It's just their filter
predicates that are different, so from the same content you have two
different controllers displaying two different subsets of the same
content. This is the best approach to your situation.
You may want to go back to the Cocoa Bindings documentation to get
a better handle on things on order to effectively leverage this
technology with Core Data. As the two are not the same thing (but
merely can - and often are - used together), you need to read the
documentation on both Core Data *and* Cocoa Bindings.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden