# \#uuid

**URL:** https://forums.swift.org/tag/uuid/595.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [LLDB prints wrong UUID value](https://forums.swift.org/t/lldb-prints-wrong-uuid-value/78622)

<div class="topic-metadata">

**Author:** [@AlexBlack559](https://forums.swift.org/u/AlexBlack559)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 9:26pm UTC](https://forums.swift.org/t/lldb-prints-wrong-uuid-value/78622 "2025-03-18T21:26:44Z")

</div>

LLDB prints the wrong UUID value when unwrapping it as an associated value within a switch‑case statement. let's consider following example: enum MyEnum { case firstCase(UUID) } let myEnum = MyEnum.firstCase(UUID(…

---

## [Best way to initialize a constant UUID?](https://forums.swift.org/t/best-way-to-initialize-a-constant-uuid/75253)

<div class="topic-metadata">

**Author:** [@bbrk24](https://forums.swift.org/u/bbrk24)\
**Replies:** 2\
**Last updated:** [October 9, 2024, 9:18pm UTC](https://forums.swift.org/t/best-way-to-initialize-a-constant-uuid/75253 "2024-10-09T21:18:28Z")

</div>

I'm trying to strike a balance between legibility and efficiency here. I was looking at the UUID initializers in Godbolt, and there's basically only two: init(uuid:) takes a tuple of 16 ints, and init(uuidString:) takes…

---

## [UUID comparability](https://forums.swift.org/t/uuid-comparability/70271)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 5:46pm UTC](https://forums.swift.org/t/uuid-comparability/70271 "2024-05-13T17:46:21Z")

</div>

UUID got comparable conformance in iOS 17, can I implement my conformance on it in a way so my implementation is used on versions before 17 and system implementation on later versions? Interestingly, my project's deploy…

---

## [UniqueID - time-ordered UUIDs in Swift](https://forums.swift.org/t/uniqueid-time-ordered-uuids-in-swift/53265)

<div class="topic-metadata">

**Author:** [@Karl](https://forums.swift.org/u/Karl)\
**Replies:** 15\
**Last updated:** [July 13, 2023, 12:38pm UTC](https://forums.swift.org/t/uniqueid-time-ordered-uuids-in-swift/53265 "2023-07-13T12:38:51Z")

</div>

Recently I was checking out some better forms of UUID, and I found it quite interesting so I decided to publish it as a package. There are possible benefits to using time-ordered UUIDs for both client and server applica…

---

## [Frostflake - a Snowflake inspired high-performance unique identifier generator](https://forums.swift.org/t/frostflake-a-snowflake-inspired-high-performance-unique-identifier-generator/61503)

<div class="topic-metadata">

**Author:** [@hassila](https://forums.swift.org/u/hassila)\
**Replies:** 7\
**Last updated:** [November 25, 2022, 8:16am UTC](https://forums.swift.org/t/frostflake-a-snowflake-inspired-high-performance-unique-identifier-generator/61503 "2022-11-25T08:16:43Z")

</div>

Just a micro framework for unique identifier generation that might be of use to someone else - inspired by Snowflake but with slightly different tradeoffs. Generates ~125M identifiers per second on an M1. Usage The ge…
