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

[newbie] Handling a preferences window


  • Subject: [newbie] Handling a preferences window
  • From: Yann Bizeul <email@hidden>
  • Date: Sun, 29 Sep 2002 21:50:05 +0200

Hi there.

I'm new to the list, and I don't know if there is another list for really basic questions.

My problem is very simple, I'm designing a new application, so I draw everything in IB, and cretated my Objects and their controllers.
Now I just want to link the Preferences menu to my preference windows, I found a tutorial at apple's web site but it shows how to handle windows in another nib file, mine is in the MainMenu.nib.

In fact, I made an action in my "TSMPrefs" object called "showPreferences" and I linked it with the "Preferences" menu.

Now I don't know what to write in my showPreferences code, how to access this NSWindow object to ask him to display ?

Sorry for this basic question, don't hesitate to point me to a better place to ask this ! ;-)


--
Yann Bizeul
16, rue Pache
75011 Paris

Til. 01 43 72 28 66 - Mob. 06 60 43 00 88
http://www.tynsoe.org/
_______________________________________________
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: Jeremy Dronfield <email@hidden>
  • Prev by Date: linking in private non-Framework libraries
  • Next by Date: Re: linking in private non-Framework libraries
  • Previous by thread: Re: linking in private non-Framework libraries
  • Next by thread: Re: [newbie] Handling a preferences window
  • Index(es):
    • Date
    • Thread