- What is one of the biggest differences between subclassing and extending a class with a protocol or category?
- What are the benefits of using declared properties?
You can add instance variables to a subclass. Protocols and categories allow you to only add methods.
You can save yourself some typing, your code will be more readable, you can use dot syntax to use the accessors, and the attributes you can assign to the properties can help you take advantage of runtime features.