self
is a special variable in Objective-C, inside an instance method this variable refers to the receiver(object) of the message that invoked the method, while in a class method self
will indicate which class is calling.
self
refers to the actual object that is executing the current method, it is an invisible argument passed automatically by the runtime environment to your instance methods.