1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import Sheeeeeeeeet
- class MyCustomViewCell: ActionSheetItemCell, ActionSheetCustomItemCell {
-
-
-
-
- static let nib: UINib = UINib(nibName: "MyCustomViewCell", bundle: nil)
- static let defaultSize = CGSize(width: 100, height: 400)
-
-
-
-
- var buttonTapAction: ((UIButton) -> ())?
-
-
-
- @IBOutlet weak var leftButton: UIButton!
- @IBOutlet weak var centerButton: UIButton!
- @IBOutlet weak var rightButton: UIButton!
-
-
-
-
- @IBAction func buttonTapAction(_ sender: UIButton) {
- buttonTapAction?(sender)
- }
- }
|