Re: Do I Need Multiple NSArrayControllers For This?
Re: Do I Need Multiple NSArrayControllers For This?
- Subject: Re: Do I Need Multiple NSArrayControllers For This?
- From: "Jamie Phelps" <email@hidden>
- Date: Mon, 15 Sep 2008 10:01:23 -0500
>
> On Thu, Sep 11, 2008 at 3:11 PM, Benjamin Stiglitz <email@hidden> wrote:
>
> By the way, another way to implement this is to set a property in a
>> subclass of NSArrayController inside its -arrangeObjects: method.
>
>
I found this information<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Tasks/filtering.html#//apple_ref/doc/uid/20002302-128168-CJBCJCAI>about
overriding -arrangeObjects: Since I need to return several different
arrays of objects (active, new, and prior) how is this different from
multiple NSArrayControllers with predicate bindings. Perhaps creating
methods like -activeObjects: -newObjects: that create the filtered arrays
and pass those to -arrangeObjects:?
Thanks,
Jamie
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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