mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fixed typo in Parameter
This commit is contained in:
parent
01150e5309
commit
147cc58761
@ -241,7 +241,7 @@ int main (int argc, const char * argv[])
|
||||
+ (NSString *)classMethod;
|
||||
|
||||
// - for instance method
|
||||
- (NSString *)instanceMethodWithParmeter:(NSString *)string;
|
||||
- (NSString *)instanceMethodWithParameter:(NSString *)string;
|
||||
- (NSNumber *)methodAParameterAsString:(NSString*)string andAParameterAsNumber:(NSNumber *)number;
|
||||
|
||||
@end
|
||||
@ -271,7 +271,7 @@ int main (int argc, const char * argv[])
|
||||
return [[self alloc] init];
|
||||
}
|
||||
|
||||
- (NSString *)instanceMethodWithParmeter:(NSString *)string
|
||||
- (NSString *)instanceMethodWithParameter:(NSString *)string
|
||||
{
|
||||
return @"New string";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user