Theocacao
Leopard
Design Element
Comment on "Bindings and File's Owner"
by Steven Kramer — Jan 10
I think the retain cycle problem is possible anywhere you bind to File's Owner and File's Owner properly retains its nib objects. Also, it doesn't manifest itself always (just tried to reproduce from scratch, no problem). Most importantly, I think you need a step 4 - use [objectControllerr setContent: nil] in a suitable method. For instance [NSDocument close].
Back to "Bindings and File's Owner"
Design Element

Copyright © Scott Stevenson 2004-2015