In Objective-C, you call this “class methods”, see here:
@interface MyClass : NSObject
+ (void)aClassMethod;
- (void)anInstanceMethod;
@end
The + is the important thing; you call the method like this: [MyClass aClassMethod];
In Objective-C, you call this “class methods”, see here:
@interface MyClass : NSObject
+ (void)aClassMethod;
- (void)anInstanceMethod;
@end
The + is the important thing; you call the method like this: [MyClass aClassMethod];