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.
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.
精彩评论