I am trying to use a UISearchBar to query multiple properties of a NSManagedObject I have a NSManagedObject called Person
UISearchBar
NSManagedObject
Person
For Swift:
var predicate = NSCompoundPredicate( type: .AndPredicateType, subpredicates: [predicate1, predicate2] )