AccessoryButton

public struct AccessoryButton : Equatable

Button for accessory item.

  • Image for button.

    Declaration

    Swift

    public let image: Image?
  • Title for button.

    Declaration

    Swift

    public let title: String?
  • Action for button.

    Declaration

    Swift

    public let action: () -> Void
  • Public initializer for AccessoryButton

    Declaration

    Swift

    public init(image: Image? = nil, title: String? = nil, action: @escaping () -> Void)

    Parameters

    image

    Image for button.

    title

    Title string for button.

    action

    Action for button.

  • check equality

    Declaration

    Swift

    public static func == (lhs: AccessoryButton, rhs: AccessoryButton) -> Bool