CoatyUUID

public class CoatyUUID : Codable, CustomStringConvertible, Hashable

Custom implementation of a UUID that actually is compatible with the RFC 4122 V4 specification of defining UUIDs (lowercase in contrast to Apple’s uppercase implementation).

  • The UUID as a lowercased string.

    Declaration

    Swift

    public var string: String { get }
  • Default initializer for a CoatyUUID object which assigns a new UUID.

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    public init?(uuidString: String)

Codable methods.

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Hashable / Equatable methods.

  • Declaration

    Swift

    public static func == (lhs: CoatyUUID, rhs: CoatyUUID) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

Custom String Convertible.

  • Declaration

    Swift

    public var description: String { get }