NSPredicate for inner key in array of dictonary
问题 i have an array of dictionay in the following format [ { "student": { "id": "1", "studentUserDetail": { "firstName": "Bonny", "lastName": "Roby" } } }, { "student": { "id": "1", "studentUserDetail": { "firstName": "Bonny", "lastName": "Kety" } } }, { "student": { "id": "1", "studentUserDetail": { "firstName": "Arther", "lastName": "Fone" } } }, ] In the above array i need to filter all elements containing a serachKey (eg Bonny) in the inside key student.StudentUserDetails.firstName . How can