What you describe is called a category (not @implementation). It is an extension to the UIView
class (in this case).
Generalcally:
@implementation __CLASS_TO_EXTEND__ (__CATEGORY_NAME__)
The category, as it is an extension, is the instance that you call the method on. So, you use self
as you usually would to access the current instance.