/LUUID

Clone of Swift.UUID called LUUID because LUUID.uuidString returns a lowercase string to conform to the UUID RFC

Primary LanguageSwiftApache License 2.0Apache-2.0

LUUID

Build Status codecov

LUUID is a clone of (and drop-in replacement for) Swift.UUID, but LUUID.uuidString returns a lowercase string to conform to the UUID RFC.

Modifications (compared to Swift.UUID)

  • LUUID uses Hashable.hash(into:) and therefore requires Swift 4.2+. This also means that UUID and LUUID do not have the same hashValue.
  • LUUID is not convertible to NSUUID via as due lack of support for implementing this outside of the Swift standard library.