Hey James! On 18/May/2010, at 5:42 PM, James Maxwell wrote: > Okay, getting a bit deeper into this, I realize I'm still "in the woods", so > to speak. I'm going to have to hook up my NSTableView to set the *selected* > port and channel for the MIDIInstruments, which means it's pretty much going > to have to be loaded in the nib after all (since the MIDIInstrument has to > respond to the selection made in the table). So, if I do that, and make the > connections to Central_MIDI_Controller, as recommended, will the > NSArrayController be able to add new instances of MIDIInstrument (and new > rows to my table), which also have these connections? As I mentioned, I need > an arbitrary number of MIDIInstruments.
It seems to me that you are not separating the model, view and controller bits. To me, MIDIInstrument sounds like it's part of the Model (the internal state of things) and it should not be talking directly to the TableView. The controller in the middle should be tracking and co-ordinating things. I hope that helps! 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]
