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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user