init
TypeScriptstatic initTitleColorHandler(title: string, color: _UIKit_UIColor, handler: ((arg0: CPAlertAction) => void)): CPAlertActionSwift declarationinit(title: String, color: UIColor, handler: @escaping CPAlertActionHandler)class · iOS 12.0+ · SDK 27.1
class CPAlertActionstatic initTitleColorHandler(title: string, color: _UIKit_UIColor, handler: ((arg0: CPAlertAction) => void)): CPAlertActionSwift declarationinit(title: String, color: UIColor, handler: @escaping CPAlertActionHandler)static initTitleStyleHandler(title: string, style: CPAlertAction_Style, handler: ((arg0: CPAlertAction) => void)): CPAlertActionSwift declarationinit(title: String, style: CPAlertAction.Style, handler: @escaping CPAlertActionHandler)get color(): (_UIKit_UIColor) | nullSwift declaration@NSCopying var color: UIColor? { get }get handler(): ((arg0: CPAlertAction) => Promise<void>)Swift declarationvar handler: CPAlertActionHandler { get }get style(): CPAlertAction_StyleSwift declarationvar style: CPAlertAction.Style { get }get title(): stringSwift declarationvar title: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPAlertAction.init()
inherited init: cannot prove legal (class declares 2 custom initializers)