Hey James!

On 18/May/2010, at 5:00 PM, James Maxwell wrote:
> From the MIDIInstrument init, I can run [[NSApp delegate] midiController] and 
> get the instance of Central_MIDI_Controller loaded in the nib. As I say, it 
> feels a bit hackish. Though it does work, and advice is still welcome.

Sure, that works in a pinch but doesn't work so well when you might want to 
connect different parent objects to the child objects in the nib file.  Using 
FilesOwner is much more flexible.   And yes, I know that you can change the 
NSApp delegate each time before opening a new nib file (and I might have even 
done that many moons ago ;-) however that is really getting hackish! ;-)
M.
_______________________________________________

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