init(name:handler:)
Creates a custom action object with the specified name and handler.
Declaration
init(name: String, handler: (() -> Bool)? = nil)Creates a custom action object with the specified name and handler.
init(name: String, handler: (() -> Bool)? = nil)