redribben

redefining

Jan 2nd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.28 KB | None | 0 0
  1. import UIKit
  2.  
  3. class BMPickViewButton: UIButton {
  4.  
  5.     private var _inputView: UIView?
  6.    
  7.     override var inputView: UIView? {
  8.         get { return _inputView }
  9.         set { _inputView = newValue }
  10.     }
  11.    
  12.      override var canBecomeFirstResponder: Bool { return true }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment