Re: ObjectController preventing WindowController from releasing

2011-11-08 Thread Jonathan Taylor
> Well, in this case I certainly think it would be better to bind the object > controller to File's Owner.camera. Really, I wasn't so much getting at > anything in particular, I just find it odd for an object controller to have a > window controller as its content. I also find it odd to bind t

Re: ObjectController preventing WindowController from releasing

2011-11-07 Thread Ken Thomases
On Nov 7, 2011, at 11:16 AM, Jonathan Taylor wrote: > Thanks very much for your reply! You're welcome. >> What would you sensibly bind to the File's Owner itself, rather than one of >> its properties? In other words, what is bound to or through the object >> controller? > > OK, I am not abso

Re: ObjectController preventing WindowController from releasing

2011-11-07 Thread Jonathan Taylor
Hi Ken, Thanks very much for your reply! >> I have a window and window controller which in the absence of an object >> controller work fine, and both are deallocated when the window is closed. If >> I add an ObjectController to the NIB and bind its "Content Object" to >> "File's Owner.self" th

Re: ObjectController preventing WindowController from releasing

2011-11-07 Thread Ken Thomases
On Nov 7, 2011, at 10:09 AM, Jonathan Taylor wrote: > I have a window and window controller which in the absence of an object > controller work fine, and both are deallocated when the window is closed. If > I add an ObjectController to the NIB and bind its "Content Object" to "File's > Owner.se

ObjectController preventing WindowController from releasing

2011-11-07 Thread Jonathan Taylor
Sorry. Re-sending under what I think is a more correct title. I only realised after I hit send! Begin forwarded message: > From: Jonathan Taylor > Date: 7 November 2011 16:08:13 GMT > To: cocoa-dev > Subject: ObjectController preventing window from closing > > Hi all, > > This is probably a