阅读背景:

Effective Objective-C 2.0: Item 16:Designated Initializer

来源:互联网 

Item 16: Have a Designated Initializer

All objects need to be initialized. When initializing an object, you sometimes don’t need to give it any information, but often you do. This is usually the case if the object cannot perform its action without knowing this information. An example from UIKit, the iOS UI framework, is All




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

分享到: