Problem Description: If I created a new method - (BOOL) test;, or with reference method - (BOOL) test: (NSString *) NSSname; How do I call in another way? ? ?
For example, in:
- (Void) viewDidLoad
{
/ / Here call
[Super viewDidLoad];
/ / Do any additional setup after loading the view, typically from a nib.
}
Although very basic, hope to answer ....
Reply:
If it is a custom C functions can be called directly, if it is an object method, you can call
on the object with a common message syntax (grammar in parentheses)
BOOL b = [self test];
Reply:
Thank you very much ... whether it is another argument with bool b = [self test: @ "small"] it?
No comments:
Post a Comment