Skip to content

Instantly share code, notes, and snippets.

@soffes
Created April 28, 2009 21:36
Show Gist options
  • Save soffes/103413 to your computer and use it in GitHub Desktop.
Save soffes/103413 to your computer and use it in GitHub Desktop.
// NSDate+dateFromString.h
@interface NSDate (dateFromString)
+ (NSDate *)dateFromString:(NSString *)string;
@end
// NSDate+dateFromString.m
#import "NSDate+dateFromString.h"
@implementation NSDate (dateFromString)
+ (NSDate *)dateFromString:(NSString *)string { /* your code */ }
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment