izke1a
Last Updated: February 25, 2016
·
319
· novalagung
16162fed91387cc1cec055412db0022d

iOS - Extending Class

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

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