FROM : Matt Neuburg
DATE : Sat Nov 06 21:55:00 2004
On Sat, 6 Nov 2004 11:53:29 -0800, Jesse Abram <<email_removed>>
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_removed>, <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>
DATE : Sat Nov 06 21:55:00 2004
On Sat, 6 Nov 2004 11:53:29 -0800, Jesse Abram <<email_removed>>
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_removed>, <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>
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

