Say I have a class Car that has 2 properties:
NSMutableArray *parts
and
BOOL modified
parts is an array of custom object called Part. I want modified to be set to YES if any property of any Part in the array is modified.
Is this a good candidate for KVO or is there a better way to do this?
YES ! That’s exactly what KVO is made for, and your use case is a typical usage for this 🙂