• 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] How to load and display a sheet from a NIB file ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Newbie] How to load and display a sheet from a NIB file ?


  • Subject: [Newbie] How to load and display a sheet from a NIB file ?
  • From: Jérome Foucher <email@hidden>
  • Date: Thu, 20 Mar 2003 11:43:35 +0100

Hi all !

I'm stuck with a problem fairly simple for many people on this list, but for me it's puzzling...

Basically I have a NSWindow that is loaded from a NIB file called Repositories.nib

This NIB file holds the window and 2 sheets.
I want to display the first sheet when the user click the "Add" button, and the second one when he/she clicks on the "Delete" button.

From my understanding, I should use the beginSheet method from NSApplication.
But I don't really understand how I should load the sheet from the NIB file....

Do I have to put each sheet into a separate NIB file ?
Do I need to create a custom class for each sheet too ?

Any advice appreciated !

Thanks
Jerome
_______________________________________________
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] How to load and display a sheet from a NIB file ?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSTextField
  • Next by Date: Mouse and buttons
  • Previous by thread: Re: Gracefully shutting down a server.
  • Next by thread: Re: [Newbie] How to load and display a sheet from a NIB file ?
  • Index(es):
    • Date
    • Thread