// // ActionSheetController.swift // PaiaiUIKit // // Created by ffib on 2019/1/23. // Copyright © 2019 yb. All rights reserved. // import UIKit public class ActionSheetController: AlertViewController { public fileprivate(set) var alertView: ActionSheetView override public var animationView: UIView? { return alertView } public init() { alertView = .default super.init(style: .actionSheet) } required public init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") } } public extension ActionSheetController { func addAlertAction(_ action: AlertAction) { alertView.addAlertAction(action) } }