Skip to content

Instantly share code, notes, and snippets.

@murayama
Created May 26, 2014 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murayama/4b561879e32ba6ece188 to your computer and use it in GitHub Desktop.
Save murayama/4b561879e32ba6ece188 to your computer and use it in GitHub Desktop.
Objective-Cのカテゴリについてメモ ref: http://qiita.com/murayama/items/f720c6d1f5ff3a03fea2
#import <Foundation/Foundation.h>
@interface NSString (Additional)
- (NSString *)addMethod;
@end
#import "NSString+Additional.h"
@implementation NSString (Additional)
- (NSString *)addMethod
{
...
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment