On Wed, Jun 4, 2008 at 8:46 PM, Trygve Inda <[EMAIL PROTECTED]> wrote:

> Thoughts?

It sounds like you're going for the "two instances of the same class" approach.

In which case, you have a single combined controller class with your
singe set of outlets and actions. Set your File's Owner in each of the
Main and Aux nibs to be that class, and wire everything up to File's
Owner. Then do something like the following:

CombinedController *mainScreenController = [CombinedController initForScreen:0];
[NSBundle loadNibNamed:@"MainNib" owner:mainController];
CombinedController *secondScreenController = [CombinedController
initForScreen:1];
[NSBundle loadNibNamed:@"AuxNib" owner:secondScreenController];

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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