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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to