Re: Core Data Calculated Properties [solved]

2009-09-29 Thread John McIntosh
After more research, I found my solution in the NSPersistentDocument Tutorial. If anyone else has this problem, I needed to implement the following method in the subclass for my entity: + (NSSet *)keyPathsForValuesAffectingProperty3{ return [NSSet setWithObjects:@property1, @property2,

Core Data Calculated Properties

2009-09-29 Thread John McIntosh
Hi all. I am working on a core data application and am having some difficulty understanding how to configure a particular aspect of it. I am using an nstable to display a selection of properties from my core data managed object. I have the properties bound to the columns in the table and set to

Re: Core Data Calculated Properties

2009-09-29 Thread Matthew Lindfield Seager
John, The info you are after is at: http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/KeyValueObserving/Concepts/DependentKeys.html Specifically, keyPathsForValuesAffectingValueForKey: Regards, Matthew Safe, comfortable and satisfied? Consider supporting some people who