阅读背景:

Cocoa中的抽象类内存管理

来源:互联网 

When writing an abstract class, or a class that doesn't get instantiated directly... do you tend to write a dealloc method in the abstract class and release where appropriate, and then allow for children to call [super dealloc] and then worry about only instance variables they add which aren't part of the super class?When writing an abstract class, or a class that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: