Purpose of Instance Methods vs. Class Methods in Objective-C

Posted by qegal on Stack Overflow See other posts from Stack Overflow or by qegal
Published on 2012-06-24T02:21:48Z Indexed on 2012/06/24 3:16 UTC
Read the original article Hit count: 205

Filed under:
|
|
|

I have checked out all these questions...

...and all they explain is how instance methods are used on instances of a class and class methods are used with the class name, when a message is sent to a class object. This is helpful, but I'm curious to know why one would use a class method vs. an instance method. I'm fairly new to iOS application development, and usually use class methods, and I feel like I'm doing something wrong. Thanks in advanced!

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about class