Re: Predicate in IB
Re: Predicate in IB
- Subject: Re: Predicate in IB
- From: Romain <email@hidden>
- Date: Fri, 27 Apr 2007 15:13:28 +0200
Hi there,
I can't get the predicate working in IB. The predicate in the Class is
working fine since I'm creating an filtered test array within the
class, but in IB it doesn't do as expected. I've done a tiny project
covering the issue, I would be grateful if someone could take a look.
[...]
Micha
This is because you are binding your NSArrayController to "predicate".
Your bound class must be KVC compliant with "predicate": either with
an initialized instance variable called "predicate", or with an
accessor -(NSPredicate*)predicate returning the needed value.
Check your code: predicate is declared twice as global and local. Did
you try to compile this ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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