Re: Problem with setAction
Re: Problem with setAction
- Subject: Re: Problem with setAction
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 6 Jul 2001 15:09:28 +0200
On vendredi, juillet 6, 2001, at 02:51 PM, Sprague, Graham wrote:
/* I found this but don't know how to use it. I tried it like this but
that
gives me an error stating that 'newActionName' is undefined. */
[goButton setAction:(SEL)newActionName]
[goButton setAction:@selector(newActionName)] (with a : or not after
newActionName according to the method prototype)