Design Element
Comment on "Lazy Loading of KVO Observed Properties"
by Scott Stevenson — Jun 17
@Robert Stainsby: Are NSManagedObject's (set)PrimitiveValue:forKey: methods of any use here?
That's essentially the same thing as setting the instance variable directly, except it manipulates the data in the managed object storage. I believe you'd still need to use willChangeValueForKey/didChangeValueForKey in order to send KVO notifications, which would get us back into recursion.
Back to "Lazy Loading of KVO Observed Properties"
Design Element

Copyright © Scott Stevenson 2004-2015