开发者

Declare an Objective-C static method that can be called without a class instance?

How do you declare an Objective-C static method that can be called without 开发者_高级运维a class instance?


Put a + instead of the usual - in front of your method definition.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜