类方法和实例方法有什么区别?
实例方法是访问器(getter和setter),而类方法几乎是其他所有方法吗?
oop methods objective-c class-method instance-methods
我在目标c和xcode中都很新.我想知道方法定义旁边的符号+和-符号是什么意思.
+
-
- (void)loadPluginsAtPath:(NSString*)pluginPath errors:(NSArray **)errors;
syntax objective-c method-declaration
objective-c ×2
class-method ×1
instance-methods ×1
method-declaration ×1
methods ×1
oop ×1
syntax ×1