How to filter array using predicate on a custom property of object in Objective- C iOS?
639410-Jan-2017
Updated on 24-Sep-2020
Home / DeveloperSection / Interviews / How to filter array using predicate on a custom property of object in Objective- C iOS?
Sunil Singh
10-Jan-2017Following is function that is used to filter NSArray with key and value as parameter-
for more details of NSPredicate visit
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/Articles/pSyntax.html