• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSComboBox problem in 10.6.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSComboBox problem in 10.6.2
      • From: "H. Miersch" <email@hidden>
References: 
 >NSComboBox problem in 10.6.2 (From: "H. Miersch" <email@hidden>)
 >Re: NSComboBox problem in 10.6.2 (From: Jim Correia <email@hidden>)
 >Re: NSComboBox problem in 10.6.2 (From: "H. Miersch" <email@hidden>)

  • Prev by Date: Re: NSComboBox problem in 10.6.2
  • Next by Date: Re: NSComboBox problem in 10.6.2
  • Previous by thread: Re: NSComboBox problem in 10.6.2
  • Next by thread: Re: NSComboBox problem in 10.6.2
  • Index(es):
    • Date
    • Thread