summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorDave Caunt <dcaunt@gmail.com>2013-09-04 12:58:06 +0100
committerDave Caunt <dcaunt@gmail.com>2013-09-04 12:58:06 +0100
commit1e6aff4a7b43b8f528951b0c9cb753ae62c9c649 (patch)
tree37e35ff61aa309845359fbef22d6262f8ab679c3 /objective-c.html.markdown
parent147cc58761c8199a56605b71db741422330f940f (diff)
Fixed inconsistencies in class implementation and protocol naming
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 98204a9a..926a4a0d 100644
--- a/objective-c.html.markdown
+++ b/objective-c.html.markdown
@@ -223,7 +223,7 @@ int main (int argc, const char * argv[])
// }
// -/+ (type) Method declarations;
// @end
-@interface MyClass : NSObject <MyCustomProtocol>
+@interface MyClass : NSObject <MyProtocol>
{
int count;
id data;
@@ -248,7 +248,7 @@ int main (int argc, const char * argv[])
// Implement the methods in an implementation (MyClass.m) file:
-@implementation UserObject
+@implementation MyClass
// Call when the object is releasing
- (void)dealloc