mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +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;
|
+ (NSString *)classMethod;
|
||||||
|
|
||||||
// - for instance method
|
// - for instance method
|
||||||
- (NSString *)instanceMethodWithParmeter:(NSString *)string;
|
- (NSString *)instanceMethodWithParameter:(NSString *)string;
|
||||||
- (NSNumber *)methodAParameterAsString:(NSString*)string andAParameterAsNumber:(NSNumber *)number;
|
- (NSNumber *)methodAParameterAsString:(NSString*)string andAParameterAsNumber:(NSNumber *)number;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
@ -271,7 +271,7 @@ int main (int argc, const char * argv[])
|
|||||||
return [[self alloc] init];
|
return [[self alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *)instanceMethodWithParmeter:(NSString *)string
|
- (NSString *)instanceMethodWithParameter:(NSString *)string
|
||||||
{
|
{
|
||||||
return @"New string";
|
return @"New string";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user