Re: Array controllers, table views and multiple values...
Re: Array controllers, table views and multiple values...
- Subject: Re: Array controllers, table views and multiple values...
- From: Eric MORAND <email@hidden>
- Date: Mon, 2 Jul 2007 18:08:18 +0200
All, right, after some more searching on the web, I found that there
was a "contentArrayForMultipleSelection" binding in
NSArrayController. It works great using
"email@hiddencts" but this is not exatly what
I want.
@distinctUnionOfSets returns the union between two or more sets. What
I need is the intersection between this sets...and there doesn't seem
to have a set operator for this.
So, my question is : is it possible to add sets or arrays operator
like @max or @distinctUnionOfSets ?
Le 2 juil. 07 à 17:11, Eric MORAND a écrit :
Hi guys !
Llet's says I have a list of employees, each one being affected to
one or more projects. I want my table view to display the common
projects between the selected employees but I don't know how to
achieve this with bindings. If the selected employees all shares
the same list of projects, it works, the list of projects do appear
in the table view. But if they don't share the exact same list of
projects, nothing appears even if they all share one or more
projects. It is everything or nothing.
Can someone help me ? Maybe I need to subclass NSArrayController ?
Thanks,
Eric.
_______________________________________________
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
_______________________________________________
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