File tree 1 file changed +6
-6
lines changed
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{
22
22
@IBInspectable public var rowBackgroundColor : UIColor = . white
23
23
@IBInspectable public var selectedRowColor : UIColor = . cyan
24
24
@IBInspectable public var hideOptionsWhenSelect = true
25
- @IBInspectable public var isSearchEnable : Bool = true {
25
+ @IBInspectable public var isSearchEnable : Bool = true {
26
26
didSet{
27
27
addGesture ( )
28
28
}
@@ -52,11 +52,11 @@ open class DropDown : UITextField{
52
52
}
53
53
54
54
//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 )
60
60
fileprivate var backgroundView = UIView ( )
61
61
fileprivate var keyboardHeight : CGFloat = 0
62
62
You can’t perform that action at this time.
0 commit comments