Purpose of Instance Methods vs. Class Methods in Objective-C
- by qegal
I have checked out all these questions...
Difference Class and Instance Methods
Difference between class methods and instance methods?
Objective-C: Class vs Instance Methods?
...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!