Saturday October 21st, 2006
Core data: dependent keys
Simple problem: I want to update an attribute dependent on other attributes. Solution: setKeys:triggerChangeNotificationForDependentKey:. A not so simple problem: for speed issues, I want to cache the dependent keys and do some other stuf (refresh a view and so on). In the following exampe I have a NSManagedObject rectangle with two attributes width and height. […]