core data how to filter (NSPredicate) including a relationship requirement and given the relationship object? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . How would I filter (construct an NSPredicate) for the following. Have a SCHOOL and PERSON entities One-to-many relationship, i.e. a PERSON has one SCHOOL, SCHOOL has many PERSONs Input to the filter method are (a) persons Name (e.g. all with a first name of "Tom") , and (b) the