Method and variable declarations in Objective-C:1.Class Implementation.2.Init.3.Dealloc:[super deall...
Method and variable declarations in Objective-C:
1.Class Implementation.
2.Init.
3.Dealloc:
[super dealloc] to ask the superclass to do its cleanup. If we don't do this, the object will not be removed, which is a memory leak.
学员评论