langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
8
Task/Classes/Objective-C/classes-3.m
Normal file
8
Task/Classes/Objective-C/classes-3.m
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Creating an instance
|
||||
MyClass *mc = [[MyClass alloc] init];
|
||||
|
||||
// Sending a message
|
||||
[mc variable];
|
||||
|
||||
// Releasing it. When its reference count goes to zero, it will be deallocated
|
||||
[mc release];
|
||||
Loading…
Add table
Add a link
Reference in a new issue