• 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: Robert Cerny <email@hidden>
  • Date: Fri, 29 Aug 2003 15:18:27 +0200

Hi,
it should work... Do you really have your method in the fashion you call it? It's a common issue of newbies.

- (void)doSomething:(id)sender
{
NSLog (@"blaldlaa");
}

- (void)doSomethingElse
{
NSLog (@"else");
}

- (void)awakeFromNib
{
[self doSomething:nil];
[self doSomethingElse];
}

HTH
Robert



On Friday, August 29, 2003, at 02:26 AM, Pei Xiang wrote:

how can i invoke an action of an object (objectName)
NOT by button-like target/action param, but from
another object's method process ?

"[objectName actionName:sender] ; "didn't work for me.
it says cannot find method.

Pei

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
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.
_______________________________________________
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: 
 >invoke action (From: Pei Xiang <email@hidden>)

  • Prev by Date: Segfault on NSKeyedUnarchiver release
  • Next by Date: another simple C question please...
  • Previous by thread: Re: invoke action
  • Next by thread: mouse pointer
  • Index(es):
    • Date
    • Thread