Re: 2 Cocoa Method Questions
Re: 2 Cocoa Method Questions
- Subject: Re: 2 Cocoa Method Questions
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 16 May 2002 12:48:38 -0700
On Wednesday, May 15, 2002, at 08:58 PM, email@hidden wrote:
At WWDC, one apple engineer explicitly said that you should load the
User
interface when you need them (ie. opening window), and get rid of it
when the window closes. Each window would have it's own Nib file. This
makes sense,
until you look at the Apple provided programming examples. Several of
the
programming examples load the UI in at startup (window in the
mainmenu.nib
file) with the window invisible, and use the controls on the window as
storage for the important data (ex. user defaults).
The latter part of this question is something that comes up in class
occasionally, and I have a demo to illustrate the issue. I've written
it up as a draft article -- comments welcome:
http://homepage.mac.com/mmalc/Stepwise/MVC/
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.