Theocacao
Leopard
Design Element
Comment on "Lazy Loading of KVO Observed Properties"
by wackazong — Apr 21
@Ross

I just tried that in a program of my own, and it actually stops ALL KVO from working, so other bindings could be affected.

BTW, isn't there a type declaration missing in the first solution? Shouldn't

static isBeingSet = NO;

be written as

static isBeingSet = NO;
Back to "Lazy Loading of KVO Observed Properties"
Design Element

Copyright © Scott Stevenson 2004-2015