diff options
author | Dave Caunt <dcaunt@gmail.com> | 2013-09-04 12:56:58 +0100 |
---|---|---|
committer | Dave Caunt <dcaunt@gmail.com> | 2013-09-04 12:56:58 +0100 |
commit | 147cc58761c8199a56605b71db741422330f940f (patch) | |
tree | 9648f5629521dd2d4cbe9a0c4238ace2b12c8d1b | |
parent | 01150e5309c2c924df02405c66d9b5cfb759eac9 (diff) |
Fixed typo in Parameter
-rw-r--r-- | objective-c.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown index e8c979d8..98204a9a 100644 --- a/objective-c.html.markdown +++ b/objective-c.html.markdown @@ -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"; } |