Re: NSComboBox problem in 10.6.2
Re: NSComboBox problem in 10.6.2
- Subject: Re: NSComboBox problem in 10.6.2
- From: Jeremy Pereira <email@hidden>
- Date: Fri, 19 Mar 2010 13:26:02 +0000
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 (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
_______________________________________________
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