NSArrayController predicate not working
NSArrayController predicate not working
- Subject: NSArrayController predicate not working
- From: Niko Matsakis <email@hidden>
- Date: Wed, 30 Nov 2005 07:18:23 +0100
I am attempting to set a predicate for an NSArrayController; I do
this in the Interface Builder by typing into the Inspector Window for
the controller (section Attributes), and clicking "Set Predicate".
My predicate seems to have no effect! I am currently using the
predicate "1 == 0", which I assume will never be true, but
nonetheless I see all the items appearing.
Any ideas?
I do not have "clear predicates on insertion" set, nor do I have
filterPredicate bound to anything.
Sorry if this is a FAQ; it feels like I must be doing something
obviously wrong, but I haven't found any answers online.
Niko
_______________________________________________
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