On 29 Jun 2010, at 3:40, Rainer Standke wrote:
> trying to clarify another newbie question. I have an app that has multiple
> windows per document. I'd like to be able to open and close those windows
> independently from each-other. I understand that I should use
> NSWindowControllers. So what
Thanks, Jens.
I have a follow-up question: When I close and re-open the window, the window is
'empty', no content is shown. It turns out that the Window Controller is
removed from the document's windowControllers. Since I hung onto it in an iVar
on the document I add it back to the doc's window
On Jun 28, 2010, at 12:40 PM, Rainer Standke wrote:
> - when new document opens I put its window controller into an iVar so that I
> can use it as a reference when the user selects a menu to open the main
> window.
> - then I instantiate one new window controller for each additional window,
>
Hello all,
trying to clarify another newbie question. I have an app that has multiple
windows per document. I'd like to be able to open and close those windows
independently from each-other. I understand that I should use
NSWindowControllers. So what I think I should be doing is this:
- when n