UUID
August 25, 2016 ยท View on GitHub
UUID allows your to easily create Universally Unique Identifiers. Pure Swift.
Installation
import PackageDescription
let package = Package(
dependencies: [
.Package(url: "https://github.com/Zewo/UUID.git", majorVersion: 0, minor: 7)
]
)
Compiles with the 05-09 snapshot. Compatibility with other versions of Swift is not guaranteed.
Usage
Generating a UUID
let uuid = UUID()
uuid.description // -> E8FAF8A3-B358-4235-A1B9-CC2C3B7ECB5F
Creating a UUID
let uuid = UUID(rawValue: "E8FAF8A3-B358-4235-A1B9-CC2C3B7ECB5F")
uuid.description // -> E8FAF8A3-B358-4235-A1B9-CC2C3B7ECB5F
Support
If you need any help you can join our Slack and go to the #help channel. Or you can create a Github issue in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.
Community
The entire Zewo code base is licensed under MIT. By contributing to Zewo you are contributing to an open and engaged community of brilliant Swift programmers. Join us on Slack to get to know us!
License
UUID is released under the MIT license. See LICENSE for details.
