Fixed typo in Parameter

This commit is contained in:
Dave Caunt 2013-09-04 12:56:58 +01:00
parent 01150e5309
commit 147cc58761

View File

@ -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";
}