On Apr 27, 2010, at 3:27 PM, Shawn Erickson wrote: > On Tue, Apr 27, 2010 at 3:22 PM, Uli Kusterer > <witness.of.teacht...@gmx.net> wrote: > >> For example, bindings were notorious for causing retain circles when you >> bound to File's Owner in a NIB, and that was fixed in 10.5, IIRC. > > Fairly sure it is still an issue unless you are using a > NSWindowController subclass as the File's Owner (at least on 10.5 not > looked at 10.6 directly).
NSWindowController and NSViewController both handle breaking retain cycles with File’s Owner as of 10.5. Since NSViewController was introduced in 10.5, I would generally assume any Cocoa nibs these days should have a subclass of one of those two classes (or NSApplication, in the case of the main nib file) as its File’s Owner. — Chris _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com