Swiftpack.co - fireblade-engine/uuid as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fireblade-engine.
fireblade-engine/uuid 1.2.0
A dependency free, lightweight, fast and easy to use Universally Unique Identifier (UUID) implementation in pure Swift
⭐️ 4
🕓 5 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/fireblade-engine/uuid.git", from: "1.2.0")

Fireblade UUID

CI license

This is a Swift implementation of Universally Unique Identifier (UUID); it's lightweight, fast and easy to use, and complies with RFC4122.

The module is developed and maintained as part of the Fireblade Game Engine project.

🚀 Getting Started

These instructions will get your copy of the project up and running on your local machine and provides a code example.

📋 Prerequisites

💻 Installing

Fireblade UUID is available for all platforms that support Swift 5.1+ and higher and the Swift Package Manager (SPM).

Extend the following lines in your Package.swift file or use it to create a new project.

// swift-tools-version:5.1

import PackageDescription

let package = Package(
    name: "YourPackageName",
    dependencies: [
    .package(url: "https://github.com/fireblade-engine/uuid.git", from: "1.1.0")
    ],
    targets: [
        .target(
            name: "YourTargetName",
            dependencies: ["FirebladeUUID"])
    ]
)

📝 Code Example

// create a UUID
let uuid = UUID()

// print a string representation
print(uuid.uuidString)

✍️ Authors

This project is currently maintained by Christian Treffs.
See also the list of contributors who participated in this project.

🔏 License

This project is licensed under the MIT License - see the LICENSE file for details

♻ Alternatives

GitHub

link
Stars: 4
Last commit: 17 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Dependencies

Release Notes

1.2.0
5 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/fireblade-engine/uuid/compare/1.1.0...1.2.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics