Class methods

suggest change

A class method is called on the class the method belongs to, not an instance of it. This is possible because Objective-C classes are also objects. To denote a method as a class method, change the \- to a \+:

+ (void)hello {
  NSLog(@"Hello World");
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Methods:
*Class methods

Table Of Contents