I didn’t get the usage of “Class” in Objective-c file. It looks like this developer is mixing c++ and Objective-c (I may be wrong). I learned that we can write C functions in Objective-c code but I am not sure about this Class concept.
Since I am new to Objective-c so it would be great if someone please refer me some tutorial or book where I can learn.
Class (with a capital C) is an Objective-C runtime type representing a class, not an instance of a class.
The documentation doesn’t really offer much:
Its most common usage is probably checking the class of an instance.
You could write this as: