DiffableViewModel

public protocol DiffableViewModel : Hashable, Identifiable, Sendable

Describes a view model that is uniquely identifiable and diffable.

  • id

    An identifier that uniquely identifies this instance.

    Declaration

    Swift

    var id: UniqueIdentifier { get }