Re: Question about how to make a custom sheet
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