Universally Unique Lexicographically Sortable Identifier
#import <ULID/ULID.h> NSLog(@"%@", [[ULID new] ulidString]);
import ULID print(ULID().ulidString)
Below is the current specification of ULID as implemented in this repository.
Note: the binary format has not been implemented.
01AN4Z07BY 79KA1307SR9X4MV3 |----------| |----------------| Timestamp Randomness 48bits 80bits
To install it, simply add the following line to your Cartfile:
Follow the current instructions in Carthage's README for up to date installation instructions.
To install it, simply add the following line to your Podfile:
pod install with CocoaPods 1.0 or newer.
The best way to contribute is by submitting a pull request. We'll do our best to respond to your patch as soon as possible. You can also submit a new GitHub issue if you find bugs or have questions.