1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +02:00

Fixed inconsistencies in class implementation and protocol naming

This commit is contained in:
Dave Caunt
2013-09-04 12:58:06 +01:00
parent 147cc58761
commit 1e6aff4a7b

View File

@@ -223,7 +223,7 @@ int main (int argc, const char * argv[])
// } // }
// -/+ (type) Method declarations; // -/+ (type) Method declarations;
// @end // @end
@interface MyClass : NSObject <MyCustomProtocol> @interface MyClass : NSObject <MyProtocol>
{ {
int count; int count;
id data; id data;
@@ -248,7 +248,7 @@ int main (int argc, const char * argv[])
// Implement the methods in an implementation (MyClass.m) file: // Implement the methods in an implementation (MyClass.m) file:
@implementation UserObject @implementation MyClass
// Call when the object is releasing // Call when the object is releasing
- (void)dealloc - (void)dealloc