Sunday, 2 June 2013

iOS: share methods between classes

Two classes can shared methods through category. For example, you have two subclasses of UIViewController. You want to add some common methods to both, then you can create a UIViewController category which contains these common methods.

No comments:

Post a Comment