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 +@interface MyClass : NSObject { 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