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