Skip to content

Instantly share code, notes, and snippets.

@scelis
Created January 3, 2012 16:51
Show Gist options
  • Save scelis/1555735 to your computer and use it in GitHub Desktop.
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