Reputation: 37068
My interface, for example, looks like this:
@interface NSString (CategoryName)
And then this for implementation--
@implementation NSString (CategoryName)
But what do I actually call the files? NSString.m/.h ? Does it matter?
Upvotes: 2
Views: 95
Reputation: 130193
It's entirely up to you.
However, the convention is to name them like this.
NSString+CategoryName.h
NSString+CategoryName.m
Upvotes: 7