ActionSheetAction

public struct ActionSheetAction

Undocumented

  • Undocumented

    Declaration

    Swift

    public typealias Handler = () -> Void
  • Undocumented

    Declaration

    Swift

    public let title: String
  • Undocumented

    Declaration

    Swift

    public let style: UIAlertAction.Style
  • Undocumented

    Declaration

    Swift

    public let handler: Handler?
  • Undocumented

    Declaration

    Swift

    public init(
        title: String,
        style: UIAlertAction.Style = .default,
        handler: Handler? = nil
    )
  • Undocumented

    Declaration

    Swift

    public static func cancel(title: String) -> ActionSheetAction