Re: set***Value: Method not working
Re: set***Value: Method not working
- Subject: Re: set***Value: Method not working
- From: Shawn Erickson <email@hidden>
- Date: Sun, 30 Jun 2002 09:57:26 -0700
On Sunday, June 30, 2002, at 09:39 AM, Jeremy Dronfield wrote:
Can anyone suggest why the following -setCountValue: method isn't
working?
- (IBAction)goAction:(id)sender
{
. . .
[[self textField] setIntValue:[theCount intValue]]; // Testing here
that theCount actually contains a value. It does.
[[self sRControls] setCountValue:[theCount intValue]]; // Tried
different things here, including -setCountValue:9. Nothing works.
}
Does [self sRControls] actually return an instance of your SRControls
class?
Use the debugger to understand what is going on, it should become
quickly apparent.
-Shawn
_______________________________________________
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.