izke1a
Last Updated: February 25, 2016
·
330
· novalagung

iOS - Extending Class

//ParentClassName+ClassName.h
@interface ParentClassName(ClassName)
    -(void)someFunction;
@end

//ParentClassName+ClassName.m
@implementation ParentClassName(ClassName)
    -(void)someFunction { }
@end