阅读背景:

init方法中的[self release],[self dealloc]或[super dealloc]?

来源:互联网 

I've just been reading up on how to properly fail in an init method and the docs seem to disagree with each other. One recommends throwing an exception while the others recommend cleaning up and returning nil. What's the current best practice here?I've just been reading up on how to properly fa




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

分享到: