oh jeez... This is making me crazy. For some reason, my NSArrayController 
appears to be calling "count" on MIDIInstrument objects. No idea why. I could 
see it calling count on the array it's controlling, but not an object in that 
array. Has anyone come across this problem? 

I have a MIDI_Instrument_Controller class/object that holds an array of 
MIDIInstrument objects called "instrumentLibrary", then in my NSArrayController 
bindings I set:

Content Array --> MIDI_Instrument_Controller.instrumentLibrary

As I say, there's no good reason (that I can think of) why "count" would be 
called on a MIDIInstrument object... whassup?

J.



On 2010-05-19, at 8:20 AM, Mark Ritchie wrote:

> On 18/May/2010, at 8:49 PM, James Maxwell wrote:
>> Yes, this is absolutely right, as my last post suggests -- MIDIInstrument 
>> was getting a bit blurred MVC-wise. As I properly wrap my head around table 
>> views, as well, I think it's becoming clearer what I have to do. I may post 
>> again when I've got a better plan worked out, just to see if you have any 
>> thoughts.
>> Thanks for your time.
> 
> You're welcome!
> Good luck!
> 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