Created
November 7, 2017 10:51
-
-
Save perry-mitchell/25a7b4fed85e98c00d5c48c2fa1b728e to your computer and use it in GitHub Desktop.
Generating batch UUIDs
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
RCT_EXPORT_METHOD(generateUUIDs:(RCTResponseSenderBlock)callback) { | |
NSArray *uuidArr = [BCCrypto generateUUIDsForCount:50]; | |
callback(@[ | |
[NSNull null], | |
[uuidArr componentsJoinedByString:@","] | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment