Skip to content

Instantly share code, notes, and snippets.

@kwylez
Created October 6, 2011 12:30
Show Gist options
  • Save kwylez/1267291 to your computer and use it in GitHub Desktop.
Save kwylez/1267291 to your computer and use it in GitHub Desktop.
Steve Jobs
SteveJobs *spj = [[SteveJobs alloc] initWithExtraordinary:genius withWorldChanging:vision];
[spj execute];
NSDateComponents *components = [[NSDateComponents alloc]init];
[components setDay:5];
[components setMonth:10];
[components setYear:2011];
NSCalendar *gregorian = [[NSCalendar alloc]initWithCalendarIdentifier:NSGregorianCalendar];
NSDate *endDate = [gregorian dateFromComponents:components];
[sjp setExpirationDate:endDate];
if ([sjp didWorldLoseAGenuis]) {
[sjp sendToICloud];
} else {
[sjp restart];
}
[sjp release];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment