Hi list,

In my data model 2 of my enities are "Snap" and "Tag" and they have a many-to-many relationship between them.

My UI is controlled by an NSArrayController bound to the Snap entity, I have a search field that sets the filter predicate of this NSArrayController (through code not bindings for various reasons). The array controller needs to be filtered to show any "snaps" which have a tag that matches the search field's string value.

Tag has an attribute of "title" so I tried a straight forward predicate such as ANY tags.title like [search string] (where "tags" is the relationship on the Snap entity). But this fails every time.

There seem to be a lot of unanswered messages in the archives regarding this, can someone tell me what I'm missing?

Thanks

Realmac Software
Danny Greg, Cocoa Junior

We are Realmac Software. We make nice things for Apple Macs.

Website: www.realmacsoftware.com

Office 4, 100 North Road
Brighton, BN1 1YE
United Kingdom



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to