Re: NSPopUpButton trouble
Re: NSPopUpButton trouble
- Subject: Re: NSPopUpButton trouble
- From: p3consulting <email@hidden>
- Date: Sun, 4 Jan 2004 18:49:59 +0100
Well,
then produce the actual code you are compiling because in the pseudo
code you provide, the variable "selected" is not used for something
useful in the routine and there is no selFlag declared in the method,
but if you have a crash in selectItemAtIndex you should check that your
getTitle method does actually return what you think it returns...
add a
NSLog(@"object title %d is %@",x,[object[x] getTitle]);
you will get useful things, either a crash in NSLog indicating that
getTitle doesn't always return what you think or some output that will
help you point on the problem.
Pascal Pochet
P3 Consulting
On 4 janv. 2004, at 17:33, Aaron Boothello wrote:
Oh,
i do do all the error checking making sure that selFlag is between 0
and [mySuperModel getModelCounter]. and selFlag is declared in the
same method. i hadnt done the error checking before, and put it in as
well, but the same problem turns up.
And other ideas guys?
Cheers,
Aaron.
On Sunday, January 04, 2004, at 08:09PM, p3consulting
<email@hidden> wrote:
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.