Skip to content

Instantly share code, notes, and snippets.

@scelis
Created January 3, 2012 16:51

Revisions

  1. scelis created this gist Jan 3, 2012.
    5 changes: 5 additions & 0 deletions Restaurant.h
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    @interface Restaurant : NSObject

    + (Restaurant)restaurant;

    @end
    10 changes: 10 additions & 0 deletions Restaurant.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    #import "Restaurant.h"

    @implementation Restaurant

    + (Restaurant)restaurant
    {
    return [[[Restaurant alloc] init] autorelease];
    }

    @end