Re: Setting NSObjectController's to file's owner

2008-05-15 Thread Michael Babin
On May 15, 2008, at 9:53 AM, André Pang wrote: Hmm, I just created a small test application to try to reproduce this problem and couldn't get the retain cycle to happen. It's a dead-simple document-based Cocoa application with a single NSObjectController in the nib file, with a single tex

Re: Setting NSObjectController's to file's owner

2008-05-15 Thread André Pang
On 15/05/2008, at 5:21 PM, André Pang wrote: I have a nib file containing an NSObjectController. The NSObjectController's content is set to the File's Owner proxy object, and this creates a retain cycle. (The file's owner never gets deallocated because the object controller retains it, an

Re: Setting NSObjectController's to file's owner

2008-05-15 Thread Chris Suter
On 15/05/2008, at 5:21 PM, André Pang wrote: I have a nib file containing an NSObjectController. The NSObjectController's content is set to the File's Owner proxy object, and this creates a retain cycle. (The file's owner never gets deallocated because the object controller retains it, a

Re: Setting NSObjectController's to file's owner

2008-05-15 Thread Ken Thomases
On May 15, 2008, at 2:21 AM, André Pang wrote: I have a nib file containing an NSObjectController. The NSObjectController's content is set to the File's Owner proxy object, and this creates a retain cycle. (The file's owner never gets deallocated because the object controller retains it,

Setting NSObjectController's to file's owner

2008-05-15 Thread André Pang
Hi all, I have a nib file containing an NSObjectController. The NSObjectController's content is set to the File's Owner proxy object, and this creates a retain cycle. (The file's owner never gets deallocated because the object controller retains it, and the object controller never gets