TabModel

public final class TabModel<TabType> : Identifiable, Equatable, Hashable where TabType : TabTypeable
extension TabModel: CustomDebugStringConvertible

A model that’s used internally to represent tab types in Destinations.

  • id

    A unique identifier.

    Declaration

    Swift

    public let id: UUID
  • The type of tab.

    Declaration

    Swift

    public let type: TabType
  • The initializer.

    Declaration

    Swift

    public init(type: TabType)

    Parameters

    type

    A tab type.

  • Declaration

    Swift

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

    Swift

    public func hash(into hasher: inout Hasher)
  • Declaration

    Swift

    public var debugDescription: String { get }