• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cannot find method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: removeFromSuperview crash - please help
  • Next by Date: Re: How to correctly control cursor???
  • Previous by thread: Re: Newbie: cannot find method
  • Next by thread: Help with window/subview's colliding on resize problem
  • Index(es):
    • Date
    • Thread