{"id":27021175,"url":"https://github.com/whitesmith/ulid","last_synced_at":"2025-04-04T19:29:38.540Z","repository":{"id":56925207,"uuid":"82000484","full_name":"whitesmith/ulid","owner":"whitesmith","description":"Universally Unique Lexicographically Sortable Identifier (Objective-C wrapper of the C++ lib)","archived":false,"fork":false,"pushed_at":"2021-06-20T18:03:56.000Z","size":67,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-01T05:46:01.826Z","etag":null,"topics":["framework","ios","library","macos","ulid"],"latest_commit_sha":null,"homepage":"https://www.reddit.com/r/programming/comments/4vo5a6/ulid_an_alternative_to_uuids/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitesmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-14T23:45:09.000Z","updated_at":"2024-10-24T04:03:25.000Z","dependencies_parsed_at":"2022-08-21T05:20:51.527Z","dependency_job_id":null,"html_url":"https://github.com/whitesmith/ulid","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesmith%2Fulid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesmith%2Fulid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesmith%2Fulid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesmith%2Fulid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitesmith","download_url":"https://codeload.github.com/whitesmith/ulid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246842169,"owners_count":20842718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","ios","library","macos","ulid"],"created_at":"2025-04-04T19:29:37.980Z","updated_at":"2025-04-04T19:29:38.517Z","avatar_url":"https://github.com/whitesmith.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universally Unique Lexicographically Sortable Identifier\n\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ULID.svg)](https://cocoapods.org/pods/WSTagsField)\n[![SwiftPM Compatible](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg)](https://swift.org/package-manager)\n\u003ca href=\"https://github.com/whitesmith/ulid/actions\"\u003e\n  \u003cimg src=\"https://github.com/whitesmith/ulid/workflows/Push/badge.svg\" /\u003e\n\u003c/a\u003e\n[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://opensource.org/licenses/MIT)\n\n#### Objective-C wrapper of the [C++ library](https://github.com/suyash/ulid)\n\n## Usage\n\n**Objective-C**\n\n```objective-c\n#import \u003cULID/ULID.h\u003e\n\nNSLog(@\"%@\", [[ULID new] ulidString]);\n```\n\n**Swift:**\n\n```swift\nimport ULID\n\nprint(ULID().ulidString)\n```\n\n### Requirements\n\n- iOS 9.0+\n- tvOS 9.0+\n- watchOS 2.0+\n- macOS 10.10+\n\n## Specification\n\nBelow is the current specification of ULID as implemented in this repository.\n\n*Note: the binary format has not been implemented.*\n\n```\n 01AN4Z07BY      79KA1307SR9X4MV3\n\n|----------|    |----------------|\n Timestamp          Randomness\n   48bits             80bits\n```\n\n## Installation\n\n#### \u003cimg src=\"https://cloud.githubusercontent.com/assets/432536/5252404/443d64f4-7952-11e4-9d26-fc5cc664cb61.png\" width=\"24\" height=\"24\"\u003e [Carthage]\n\n[Carthage]: https://github.com/Carthage/Carthage\n\nTo install it, simply add the following line to your **Cartfile**:\n\n```ruby\ngithub \"whitesmith/ulid\"\n```\n\nThen run `carthage update`.\n\nFollow the current instructions in [Carthage's README][carthage-installation]\nfor up to date installation instructions.\n\n[carthage-installation]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application\n\n#### \u003cimg src=\"https://raw.githubusercontent.com/ricardopereira/resources/master/img/cocoapods.png\" width=\"24\" height=\"24\"\u003e [CocoaPods]\n\n[CocoaPods]: http://cocoapods.org\n\nTo install it, simply add the following line to your **Podfile**:\n\n```ruby\npod 'ULID'\n```\n\nThen run `pod install` with CocoaPods 1.0 or newer.\n\n# Contributing\n\nThe 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](https://github.com/whitesmith/ulid/issues/new) if you find bugs or have questions.\n\n![Whitesmith](http://i.imgur.com/Si2l3kd.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitesmith%2Fulid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitesmith%2Fulid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitesmith%2Fulid/lists"}