On 19 Mar 2010, at 12:45, H. Miersch wrote: >> >> It appears you are sending -selectItemAtIndex: to the combo box, > > Correct. I tell it to select the first item (index 0). And when I put the > list if items in the nib file (no data source) it works. > > But this morning I quickly inserted an nslog to find out how big the symbols > array is, and it reported zero. Now the question is, why does the count come > back as zero? Looks like I have some investigation to do. Good thing the > weekend is just around the corner...
Did you try sending -reloadData to the combo box after setting up the data source and before trying to access items in the combo box? > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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/adc%40jeremyp.net > > This email sent to a...@jeremyp.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com