Say I have this predicate:
NSPredicate *filter = [NSPredicate predicateWithFormat:@"%K == NO", @"someAttribute"];
And I want to undo this predicate:
NSPredicate *filter = [NSPredicate predicateWithFormat:@"%K == YES", @"someAttribute"];
Is there a way to do this without creating a new predicate.
source
share