Re: window controller question
Re: window controller question
- Subject: Re: window controller question
- From: Jens Alfke <email@hidden>
- Date: Mon, 28 Jun 2010 14:20:16 -0700
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, and put each of those into an iVar to be used in a method that opens the corresponding window, like an IBAction hooked up to menu item.
Sounds reasonable, assuming you’ve got a fixed set of windows that can be opened for a document. (If you could open an arbitrary number, you’d need an NSArray or something.)
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden