Home > DeveloperSection > Interviews > What is the class method?

Posted on    August-23-2015 11:52 PM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  366  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    August-23-2015 11:52 PM

Class methods work at the class level and are common to all instance of a class these methods are specific to the class overall as opposed to working on different instance data encapsulated in each class instance.

@interface class name :ns object {


+(class name *)new alloc:

-(int)total open

Don't want to miss updates? Please click the below button!

Follow MindStick