Hi,
I am trying to use a simple predicate in IB for STV. What I want is to display entities where the "completed" attribute (a boolean) is set to NO.
If I was doing this directly in code, I would use something like:
@"completed == %@", [NSNumber numberWithBool:NO]]
thx,
wes
Figured out... turns out it is easier than I was making it.
The correct predicate string is: completed = 0
Very simple and what I should have expected from STV to being with.
Also, I have attached the basic before/after pictures that illustrate this.
PredicateDefault.png 28.6K
1 downloads
PredicateWorking.png 27.84K
1 downloads
Edited by Wes Baird, 03 December 2014 - 03:56 AM.