Re: @distinctUnionOfArrays problem
Re: @distinctUnionOfArrays problem
- Subject: Re: @distinctUnionOfArrays problem
- From: Trygve Inda <email@hidden>
- Date: Sat, 13 Feb 2010 01:49:29 +0000
- Thread-topic: @distinctUnionOfArrays problem
> It sounds like you are using an NSTreeController as the master not an
> NSArrayController, so you'll want to do:
>
> valueForKeyPath:@"email@hidden"
>
> at least I think so. childNodes will give you an array for all the
> nodes in your tree.
Ok - so I did manage to get it working... Going in the right direction.
I have got my original table (4 columns) and I have two "filtering" columns
that are the unique values from the "Genre" and "Album" columns of my master
table.
Album is still not filtered through Genre... I don't think there is a
bindings way to build a predicate base on the selection in these two tables
though.
Ultimately I want to first filter the Albums column by building a predicate
filter on the master database's Genre.
Does anyone know of examples for this - noting seems to be on Apple's site.
Trygve
_______________________________________________
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