• 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
Question about how to make a custom sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about how to make a custom sheet


  • Subject: Question about how to make a custom sheet
  • From: Anders Sommer Lassen <email@hidden>
  • Date: Sat, 29 May 2010 16:20:17 +0200

Hi,

I am working on an application that use several custom sheets or dialogs.

I have read most documentation about this, but I am still a bit confused on how to do this in a simple and standardized way.

Most of the documentation explains how to add a panel to the main nib file, and how to get the sheet displayed and closed. This works fine in my application.

My problem is how to get a custom class attached to the sheet, so controls on the sheet can be controlled during user interaction. This step is not mentioned in the documentation.

I have read somewhere that I do not need to create a separate nib file to get this to work, and that creating a separate nib file is mostly done to speed up load time.

My question is then, how to do this using the main nib file.

Should I use a custom class that derives from NSObject and make an instance of this in my nib?

If yes, how can I control this instance from my primary controller class?

Kind regards,

Anders

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question about how to make a custom sheet
      • From: Fritz Anderson <email@hidden>
    • Re: Question about how to make a custom sheet
      • From: John Johnson <email@hidden>
  • Prev by Date: Re: Help w/ first step of creating Help Book for app
  • Next by Date: Re: Question about how to make a custom sheet
  • Previous by thread: Re: Using table view cells from nibs
  • Next by thread: Re: Question about how to make a custom sheet
  • Index(es):
    • Date
    • Thread