Hello;
The Note on page 78 states that if the walks relationship was unordered one could set the “one” side of the relationship via the following code in the “add” function:
walk.dog = currentDog
I’ve done so (after commenting out the NSMutableOrderedSet and NSOrderedSet lines) and now the following line of code in cellForRowAtIndexPath fails:
let walk = currentDog.walks![indexPath.row] as! Walk
because “Type NSSet has no subscript members”, which makes sense. What would cellForRowAtIndexPath (and any other applicable function) look like in the case of an unordered relationship?
TIA