阅读背景:

(id)与Objective-C / Cocoa中的(NSSomeObject *)?

来源:互联网 

Is it better practice to use id or NSSomeObject * when possible? I know the compiler can do better checking when it's explicit, but I was just wondering which is better practice.Is it better practice to use id or NSSomeObject




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

分享到: