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 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