You can access class methods of many Apple classes as properties. Example:
[UIDevice currentDevice];
UIDevice.currentDevice;
Those are the same and both work. How can one implement the same in their classes?
You can access class methods of many Apple classes as properties. Example:
[UIDevice currentDevice];
UIDevice.currentDevice;
Those are the same and both work. How can one implement the same in their classes?
You don't need to do something special for the same, it's by default nature but it's always preferable for beginners not to use dot syntax. A proper discussion is in the post below Dot notation vs. message notation for declared properties
You don't need to do anything. You can use "dot notation" on any method, whether it was declared by a @property or or by a normal method declaration. That's true for both objects and classes.