• 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: [newbie] Handling a preferences window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] Handling a preferences window


  • Subject: Re: [newbie] Handling a preferences window
  • From: Jeremy Dronfield <email@hidden>
  • Date: Mon, 30 Sep 2002 20:47:02 +0100

On Monday, September 30, 2002, at 06:06 pm, James DiPalma wrote:

You are suggesting a PreferencesController that with these lines in its -showPreferences action method:

Did I? I must've missed that part. I thought I was just mentioning what I like about window controllers (which I admit is pretty offensive behaviour, for which I apologise).

I think my suggestion is a more clean design and just as suited to newbies as it is to more experienced developers.

I agree - your implementation of the design you've attributed to me probably is less clean than your implementation of your own design. However, I'm equally sure that my own implementation of the design I would use for my own needs (which I didn't post) is quite adequately efficient, thank you very much indeedy.

What I *did* suggest to the original poster was that they should:
1. Use -showWindow: if the window had a controller in MainMenu.nib;
2. Use -makeKeyAndOrderFront: if the window was in MainMenu.nib but had no controller;
3. Ideally put their prefs window in a separate nib.
4. Read some documentation.
5. Er, that's all.

As for what's good for newbies, learning Cocoa isn't toilet training - there are choices about where you put your shit.
-Jeremy

========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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: [newbie] Handling a preferences window
      • From: James DiPalma <email@hidden>
References: 
 >Re: [newbie] Handling a preferences window (From: James DiPalma <email@hidden>)

  • Prev by Date: NSDictionary vs NSArray writeToFile
  • Next by Date: Passing by reference vs Passing by value
  • Previous by thread: Re: [newbie] Handling a preferences window
  • Next by thread: Re: [newbie] Handling a preferences window
  • Index(es):
    • Date
    • Thread