Swiftpack.co - doneservices/UUIDNamespaces as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by doneservices.
doneservices/UUIDNamespaces 1.0.0
Namespace extensions for the built-in UUID class
⭐️ 0
🕓 4 years ago
.package(url: "https://github.com/doneservices/UUIDNamespaces.git", from: "1.0.0")

UUIDNamespaces

Namespace extensions for the built-in UUID class.

Installation

Install using Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/doneservices/UUIDNamespaces", from: "1.0.0"),
]

or using Cocoapods:

pod 'UUIDNamespaces', '~> 1.0'

API

UUID(name: String, namespace: UUID) -> UUID

Generate a new UUID version 5 with the specified name and namespace.

UUID(name: String, namespace: UUID, version: .v3) -> UUID

Generate a new UUID version 3 with the specified name and namespace.

GitHub

link
Stars: 0
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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