• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 2 Cocoa Method Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: 2 Cocoa Method Questions
      • From: Bill Cheeseman <email@hidden>
References: 
 >2 Cocoa Method Questions (From: email@hidden)

  • Prev by Date: Re: Locking mapped files
  • Next by Date: Finding myDocument from AppController
  • Previous by thread: Re: 2 Cocoa Method Questions
  • Next by thread: Re: 2 Cocoa Method Questions
  • Index(es):
    • Date
    • Thread