Re: invoke action
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.