Re: cannot find method
Re: cannot find method
- Subject: Re: cannot find method
- From: Matt Neuburg <email@hidden>
- Date: Sat, 06 Nov 2004 12:55:00 -0800
On Sat, 6 Nov 2004 11:53:29 -0800, Jesse Abram <email@hidden>
said:
>- (IBAction)JDAProcess:(id)sender;
>- (IBAction)JDAWriteOut:(id)sender;
>
>//in the code, the second method tries to call the first one using:
>[self JDAProcess];
There you go. Compare that to the header. The header clearly says that its
name is not JDAProcess. It is JDAProcess: (with a colon) and it takes an
argument. So you would have to say:
[self JDAProcess:self];
or words to that effect.
The documentation included with Xcode contains a really superb little "book"
about Objective-C. It's worth reading it, since that is the language you're
using. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden