Re: NSArrayController - limiting number of values
Re: NSArrayController - limiting number of values
- Subject: Re: NSArrayController - limiting number of values
- From: Scott Anguish <email@hidden>
- Date: Sat, 8 Apr 2006 18:29:12 -0400
in a word "NSValueTransformer".
have a value transformer that takes the array, and only returns the
first x objects.
On Apr 8, 2006, at 4:41 PM, Benjámin Salánki wrote:
Hi there,
I have a problem here and I am not sure I can handle it easily.
I have to array controllers, one's content set is bound to the
selection of the other. this is all working fine, i have it all set
up to show the bound data in a table view, which is fine too.
now what i need to accomplish is to have a third array controller
that is bound to the selection of the first one as well, but only
displays the first 15 entries of the given selection. so say the
selection in arraycontroller 1 has 35 entries, i only want this new
arraycontroller3 to handle the first 15 elements, while i want
arraycontroller2 to handle all 35. is this possible? how should i
try to do it?
_______________________________________________
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