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

Re: Question about how to make a custom sheet


  • Subject: Re: Question about how to make a custom sheet
  • From: Fritz Anderson <email@hidden>
  • Date: Sat, 29 May 2010 09:29:06 -0500

On 29 May 2010, at 9:20 AM, Anders Sommer Lassen wrote:

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

Yes.

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

I assume your primary controller is either File's Owner, or is itself instantiated in the NIB (such as the application controller). The primary controller should have an IBOutlet for the sheet controller. Link it to the sheet controller in the NIB.

	— F

_______________________________________________

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 (solved)
      • From: Anders Sommer Lassen <email@hidden>
References: 
 >Question about how to make a custom sheet (From: Anders Sommer Lassen <email@hidden>)

  • Prev by Date: Re: Question about how to make a custom sheet
  • Next by Date: Re: Using table view cells from nibs
  • Previous by thread: Re: Question about how to make a custom sheet
  • Next by thread: Re: Question about how to make a custom sheet (solved)
  • Index(es):
    • Date
    • Thread