• 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: invoke action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invoke action


  • Subject: Re: invoke action
  • From: Dave Keck <email@hidden>
  • Date: Thu, 28 Aug 2003 23:26:20 -0400

i think i still have some mistake....
my class is a custom class, and i created some action.

even thought by invoking [Object Action:nil], when
compile, the warning still says cannot find method
"Action".

Pei

Maybe I don't understand the problem but it sounds like you need to declare your method in the header (.h) file...

Such as, in the Object.h file you would put

- (void)action: (NSObject *)anObject;

...is this perhaps what you need to do or do I have the question all wrong?

- - -

Dave Keck
If I were smart I'd own a company to tell you the the name of.
"Contrariwise," continued Tweedledee, "if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic."
_______________________________________________
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.
References: 
 >Re: invoke action (From: Pei Xiang <email@hidden>)

  • Prev by Date: Re: mouse pointer
  • Next by Date: More on text views
  • Previous by thread: Re: invoke action
  • Next by thread: mouse pointer
  • Index(es):
    • Date
    • Thread