With into one?
I want thePredicate= Predicate1 or predicate2 or predicate 3 or something like that.
Code:
NSPredicate * thePredicate1= [NSPredicate predicateWithFormat: @"Title CONTAINS[cd] %@", searchTerm];
NSPredicate * thePredicate2= [NSPredicate predicateWithFormat: @"Street CONTAINS[cd] %@", searchTerm];
NSPredicate * thePredicate3= [NSPredicate predicateWithFormat: @"Building CONTAINS[cd] %@", searchTerm];
NSPredicate * thePredicate4= [NSPredicate predicateWithFormat: @"any Districts CONTAINS[cd] %@", searchTerm];
I want thePredicate= Predicate1 or predicate2 or predicate 3 or something like that.
Last edited by a moderator: