Last active
August 29, 2015 13:56
-
-
Save carbamide/8962667 to your computer and use it in GitHub Desktop.
Random name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
int main(int argc, char *argv[]) { | |
@autoreleasepool { | |
NSArray *names = @[@"Jones", @"Carvin", @"Cuckler", @"Davis", @"Etchison", @"Gable", @"Barrow"]; | |
int nameIndex = arc4random_uniform([names count]); | |
NSLog(@"%@", names[nameIndex]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its missing "Toby"