summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorDave Caunt <dcaunt@gmail.com>2013-09-04 12:56:58 +0100
committerDave Caunt <dcaunt@gmail.com>2013-09-04 12:56:58 +0100
commit147cc58761c8199a56605b71db741422330f940f (patch)
tree9648f5629521dd2d4cbe9a0c4238ace2b12c8d1b /objective-c.html.markdown
parent01150e5309c2c924df02405c66d9b5cfb759eac9 (diff)
Fixed typo in Parameter
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r--objective-c.html.markdown4
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";
}