Coding Guidelines for Cocoa and Objective-C style guide is a great resource for answering any naming convention questions. My answer is as much as possible based off of this.
The init method looks good.
- (id) initWithName:(NSString *) name;
The class method looks good.
+ (NSString *) aliasForName:(NSString *) name
Class methods can also be used to instantiate an instance of an object. In this instance, Apple's API's generally have the method start with the name of the class like UIButton's buttonWithType: method that has the signature:
Good resource for coding conventions for methods can be found under General Rules.
The following method should drop the
- (void) methodWithApple:(NSString *) apple andOrange:(NSString *) orange andMango:(NSString *) mango // BAD
Don’t use “and” to link keywords that are attributes of the receiver.
- (int)runModalForDirectory:(NSString *)path file:(NSString *) name types:(NSArray *)fileTypes; //RIGHT
- (int)runModalForDirectory:(NSString *)path andFile:(NSString *)name andTypes:(NSArray *)fileTypes; //WRONG
The signature should look more like the following:
- (void) methodWithApple:(NSString*)apple orange:(NSString*)orange
mango:(NSString*)mango // GOOD