File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,19 +98,21 @@ Also you can configure style via Interface Builder
9898 case .didTextChanged ( _ ): print (" DidTextChanged" )
9999 case .didExtraButtonPressed (let floatingTextField, let index, let button):
100100 if index == 0 {
101- // Change current text format
102- floatingTextField.toggleTextFormat ()
101+ // Change current text format
102+ floatingTextField.toggleTextFormat ()
103103
104- // Update button if needed
105- button.setImage (UIImage (named : self . isSecureFormat ? " eye_off" : " eye_on" )! , for : .normal )
104+ // Update button if needed
105+ button.setImage (UIImage (named : floatingTextField. isSecute () ? " eye_off" : " eye_on" )! , for : .normal )
106106 }
107107 }
108108 }
109109```
110110
111111## Requirements
112112
113- - CocoaPods 1.0.0+
113+ * iOS 9.0+
114+ * CocoaPods 1.0.0+
115+ * Swift 5
114116
115117## Installation
116118
You can’t perform that action at this time.
0 commit comments