Identifiable

public protocol Identifiable

Identifies an element.

By default, it uses the type’s simple name; except for NibLoadable components, it uses the nibname.

  • identifier Default implementation

    The element’s identifier.

    Default Implementation

    The element’s identifier.

    Declaration

    Swift

    static var identifier: String { get }

Available where Self: NibLoadable

  • identifier Default implementation

    Default Implementation

    The object’s identifier when loaded from a Nib.

    Declaration

    Swift

    static var identifier: String { get }