Saturday, 14 September 2013

Does kvo happen when a weak property is set to nil by ARC?

Does kvo happen when a weak property is set to nil by ARC?

I'm wondering if when a property that is set as weak gets cleared out via
arc when it is not strongly referable, does any KVO registered for the key
path pointing to that weak property fire? That would be a really handy
feature but I'm unaware if this happens currently. Anyone know if it does,
and if it doesn't by default can it be made to work?

No comments:

Post a Comment