(Objective - C)Sample for using Predicate Function