Skip to content

Instantly share code, notes, and snippets.

@joelturnbull
Last active December 11, 2015 17:29
Show Gist options
  • Save joelturnbull/4634977 to your computer and use it in GitHub Desktop.
Save joelturnbull/4634977 to your computer and use it in GitHub Desktop.
The Party initializers interface
// The Party initializers interface
#import <Foundation/Foundation.h>
@interface Party : NSObject
@property (nonatomic,strong) NSDate* date;
@property (nonatomic,strong) NSString* location;
@property (nonatomic,strong) NSArray* attendees;
-(Party*)initWithLocation:(NSString*)location;
-(Party*)initWithLocation:(NSString*)location date:(NSDate*)date;
-(Party*)initWithLocation:(NSString*)location attendees: (NSArray*)attendees;
-(Party*)initWithLocation:(NSString*)location date:(NSDate*)date attendees:(NSArray*)attendees;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment