mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 09:21:00 +03:00
Fixed inconsistencies in class implementation and protocol naming
This commit is contained in:
parent
147cc58761
commit
1e6aff4a7b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user