public
Created

  • Download Gist
Restaurant.h
Objective-C
1 2 3 4 5
@interface Restaurant : NSObject
 
+ (Restaurant)restaurant;
 
@end
Restaurant.m
Objective-C
1 2 3 4 5 6 7 8 9 10
#import "Restaurant.h"
 
@implementation Restaurant
 
+ (Restaurant)restaurant
{
return [[[Restaurant alloc] init] autorelease];
}
 
@end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.