LavaUI docs GitHub

struct NodeID

Swift

struct NodeID

Stable identity for a retained node (lifetime of the node object).

Sources/LavaUI/View.swift:12

Properties

let raw: UInt64

The counter value behind this id. Unique within the process, never reused.

Sources/LavaUI/View.swift:14

Methods

static func generate() -> NodeID

Returns a fresh id, one greater than the last one handed out.

Sources/LavaUI/View.swift:23