Typically you have the rooms specified to contain a to-one relationship address which is the inverse of that to-many relationship rooms.That's the simplest way of differentiating the living room of addressX from the living room of address Y.And that lets you do all sorts of convenient things like select an address from your list of addresses; pass that reference to another table view controller, and have it specify a predicate for your fetch request so that it filters to just that address: // Given address as the user selected Address instance NSPredicate *predicate = [NSPredicate predicateWithFormat @address = %@, address];
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: