iOS - Extending Class
//ParentClassName+ClassName.h
@interface ParentClassName(ClassName)
-(void)someFunction;
@end
//ParentClassName+ClassName.m
@implementation ParentClassName(ClassName)
-(void)someFunction { }
@end
Written by Noval Agung Prayogo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#