Answers

Question and Answer:

  Home  UX Designer

⟩ Do you know what is a category and when is it used?

A category is a way of adding additional methods to a class without extending it. It is often used to add a collection of related methods. A common use case is to add additional methods to built in classes in the Cocoa frameworks. For example adding async download methods to the UIImage class.

 164 views

More Questions for you: