Whats the difference between class methods and Instance methods. Why do we need them separately? Can somebody please explain?
Class and Instance Methods
• Instances respond to instance methods
- (id)init; - (float)height; - (void)walk; • Classes respond to class methods
+ (id)alloc; + (id)person; + (Person *)sharedPerson; Taimur