Re: 1 controller, 1 nib, 2 windows?
Re: 1 controller, 1 nib, 2 windows?
- Subject: Re: 1 controller, 1 nib, 2 windows?
- From: Daniel Todd Currie <email@hidden>
- Date: Thu, 11 Nov 2004 10:43:10 -0800
Are you using bindings? If you're not, it's quite easy to put both
windows in the same nib and link them up in IB. Otherwise, I dunno; I
don't use bindings yet.
-- DTC
On 2004 Nov 11, at 10:16, Scott Ribe wrote:
I have two windows that are very similar, such that I'm going to have
them
share a controller class. I could create 2 nibs, 1 for each window,
using
the same controller class. But if I wanted to put them in 1 nib, how
would I
do that?
I assume that at some point during or after loading the nib, I would
have to
load and init the correct window and set the controller's window
attribute.
Or should I just forget this as "not the Cocoa way"?
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden