On Fri, Mar 19, 2010 at 12:21 PM, H. Miersch <hmier...@macnews.de> 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 (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