Re: Get controller from nib
Re: Get controller from nib
- Subject: Re: Get controller from nib
- From: Mark Ritchie <email@hidden>
- Date: Tue, 18 May 2010 18:22:32 -0700
Hey James!
On 18/May/2010, at 5:26 PM, James Maxwell wrote:
> Anyway, I do like the sound of your design... So, does the instance loaded in IB become a one-off, or does it somehow "alias" (for lack of a better word) all future instances? I was under the impression that the instance in IB was just a single instance, and that it wouldn't have any effect on future instances.
Objects which are unarchived from a nib file are independent of other objects already loaded into your application. That's why File's Owner exists, so that the newly instantiated objects can be connected up to objects which already exist.
It would seem that I've put you on the wrong path though wrt loading nib files. I misunderstood and thought you had a nib file with an instance of MIDIInstrument and it's associated UI already and that's what you were trying to hook up. If that's not the case then what I suggested won't be right.
Such fun. I see that you've posted more on this.
M.
_______________________________________________
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