On Thu, Nov 20, 2008 at 1:11 PM, Keith Blount <[EMAIL PROTECTED]> wrote:
> Thanks for the reply. I did consider that but from what I had read I only 
> thought that was a fix for the retain cycles created when file's own is an 
> NSWindowController. I already manuallet setContent: and setContent:nil on my 
> NSArrayController, does that not have the same effect? I'll certainly try it, 
> anyway.

It should work you just can't do the setContent:nil in your dealloc
method since that will never get called because of the retain cycle
that exists. You have to do it in a pathway unrelated to dealloc, for
example on window close, etc. Once you setContent:nil the retain cycle
should be broken.

-Shawn
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to