File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ open class DropDown : UITextField{
2222 @IBInspectable public var rowBackgroundColor : UIColor = . white
2323 @IBInspectable public var selectedRowColor : UIColor = . cyan
2424 @IBInspectable public var hideOptionsWhenSelect = true
25- @IBInspectable public var isSearchEnable : Bool = true {
25+ @IBInspectable public var isSearchEnable : Bool = true {
2626 didSet{
2727 addGesture ( )
2828 }
@@ -52,11 +52,11 @@ open class DropDown : UITextField{
5252 }
5353
5454 //Variables
55- fileprivate var tableheightX : CGFloat = 100
56- fileprivate var dataArray = [ String] ( )
57- fileprivate var imageArray = [ String] ( )
58- fileprivate var parentController : UIViewController ?
59- fileprivate var pointToParent = CGPoint ( x: 0 , y: 0 )
55+ fileprivate var tableheightX : CGFloat = 100
56+ fileprivate var dataArray = [ String] ( )
57+ fileprivate var imageArray = [ String] ( )
58+ fileprivate weak var parentController : UIViewController ?
59+ fileprivate var pointToParent = CGPoint ( x: 0 , y: 0 )
6060 fileprivate var backgroundView = UIView ( )
6161 fileprivate var keyboardHeight : CGFloat = 0
6262
You can’t perform that action at this time.
0 commit comments