Using filter predicate on an NSArrayController (simple q)
Using filter predicate on an NSArrayController (simple q)
- Subject: Using filter predicate on an NSArrayController (simple q)
- From: Peter Laurens <email@hidden>
- Date: Tue, 26 Jul 2005 14:24:46 +0100
Hi,
I have a very basic setup, just one Entity in my Core Data model,
with one attribute 'name'.
I have created an interface by dragging the entity from the model
view in Xcode to IB.
This has set up the controller etc. for me.
However, I try and set a filter predicate for the NSArrayController :
name == "foo"
but this filter apparently makes no difference whatsoever, in the
tableview bound to the ArrayController I see all the entities listed
as I press the add button, and they all have their default name which
is *not* 'foo'.
I was expecting that only entities with the name 'foo' would be
listed in the tableview. If someone has a moment, perhaps they could
enlighten me as to where I've misunderstood, and why this isn't
working as desired?
Thanks for any help - gratefully received,
- Peter
_______________________________________________
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