Re: not performing selector...
Re: not performing selector...
- Subject: Re: not performing selector...
- From: Sherm Pendley <email@hidden>
- Date: Mon, 3 Nov 2003 02:25:20 -0500
On Nov 3, 2003, at 2:13 AM, Malcolm Sharman wrote:
[theList setDoubleAction:@selector(collectData:) ];
And collectData is an instance method of the same class defined as
-(void)collectData
The colon in the selector name is significant. You've told theList to
send a "collect
Data:" message, but the method you've defined here is
"collectData" - note the absence of a colon.
Action methods always receive a single parameter, so your method should
be:
-(void) collectData:(id)sender
sherm--
_______________________________________________
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.