• 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: Kyle Sluder <email@hidden>
  • Date: Fri, 19 Mar 2010 13:21:26 -0700

On Fri, Mar 19, 2010 at 12:21 PM, H. Miersch <email@hidden> wrote:
> just had another surprise: i inserted NSLogs into the method that initializes the array and into -numberOfItemsInComboBox, trying to see the contents of my array and find out why -numberOfItemsInComboBox returns zero. the surprise was that -numberOfItemsInComboBox is called BEFORE the method that initializes the array. then i commented the line that sends -selectItemAtIndex to the combobox, and the combobox worked normally.

You would do yourself well to use the debugger rather than spam your
source code with NSLog statements.

--Kyle Sluder
_______________________________________________

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

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>)
 >Re: NSComboBox problem in 10.6.2 (From: Jeremy Pereira <email@hidden>)
 >Re: NSComboBox problem in 10.6.2 (From: "H. Miersch" <email@hidden>)
 >Re: NSComboBox problem in 10.6.2 (From: Bill Hernandez <email@hidden>)
 >Re: NSComboBox problem in 10.6.2 (From: "H. Miersch" <email@hidden>)

  • Prev by Date: Re: FREED(id)
  • Next by Date: Re: UITable Views and display lags
  • Previous by thread: Re: NSComboBox problem in 10.6.2
  • Next by thread: Re: NSComboBox problem in 10.6.2
  • Index(es):
    • Date
    • Thread