Skip to content

Instantly share code, notes, and snippets.

@scelis
Created January 3, 2012 16:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save scelis/1555735 to your computer and use it in GitHub Desktop.
@interface Restaurant : NSObject
+ (Restaurant)restaurant;
@end
#import "Restaurant.h"
@implementation Restaurant
+ (Restaurant)restaurant
{
return [[[Restaurant alloc] init] autorelease];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment