File tree Expand file tree Collapse file tree
PasswordTextField.xcodeproj Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10051005 PRODUCT_NAME = "$(TARGET_NAME)";
10061006 SKIP_INSTALL = YES;
10071007 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1008- SWIFT_VERSION = 3 .0;
1008+ SWIFT_VERSION = 4 .0;
10091009 };
10101010 name = Debug;
10111011 };
10251025 PRODUCT_BUNDLE_IDENTIFIER = com.greenpixels.PasswordTextField;
10261026 PRODUCT_NAME = "$(TARGET_NAME)";
10271027 SKIP_INSTALL = YES;
1028- SWIFT_VERSION = 3 .0;
1028+ SWIFT_VERSION = 4 .0;
10291029 };
10301030 name = Release;
10311031 };
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ open class SecureTextToggleButton: UIButton {
1818 fileprivate let Height : CGFloat = 20.0
1919
2020 /// Sets the value for the secure or note secure toggle and
21- dynamic open var isSecure : Bool = true {
21+ @ objc dynamic open var isSecure : Bool = true {
2222
2323 didSet{
2424
@@ -135,7 +135,7 @@ open class SecureTextToggleButton: UIButton {
135135 /**
136136 Toggle the icon
137137 */
138- open func buttonTouch( )
138+ @ objc open func buttonTouch( )
139139 {
140140 self . isSecure = !self . isSecure
141141 }
You can’t perform that action at this time.
0 commit comments