22![ Platform: iOS 13+] ( https://img.shields.io/badge/platform-iOS%2013%2B-blue?style=flat&logo=apple )
33![ SwiftPM compatible] ( https://img.shields.io/badge/SPM-compatible-brightgreen?style=flat&logo=swift )
44[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-lightgrey?style=flat )] ( https://github.com/aaronLab/SweetCardScanner/blob/main/LICENSE )
5- [ ![ Release version] ( https://img.shields.io/badge/release-v1.0.0 -blue )] ( https://github.com/aaronLab/RespondableTextField/releases/tag/v1.0.0 )
5+ [ ![ Release version] ( https://img.shields.io/badge/release-v1.0.1 -blue )] ( https://github.com/aaronLab/RespondableTextField/releases/tag/v1.0.0 )
66
77# RespondableTextField
88
@@ -70,11 +70,11 @@ struct ContentView: View {
7070 // MARK: - BODY
7171
7272 var body: some View {
73-
73+
7474 ScrollView (showsIndicators : false ) {
75-
75+
7676 VStack (alignment : .leading , spacing : 30 ) {
77-
77+
7878 // Default
7979 Group {
8080 Text (" Default" )
@@ -88,10 +88,10 @@ struct ContentView: View {
8888 } shouldReturn : { value in
8989 print (" shouldReturn: \( value ?? " N/A" ) " )
9090 }
91-
91+
9292 Text (text1)
9393 }
94-
94+
9595 // SecureType + RectangleLine Border
9696 Group {
9797 Text (" SecureType + RectangleLine Border" )
@@ -107,10 +107,10 @@ struct ContentView: View {
107107 }
108108 .respondableSecureType ()
109109 .respondableLineStyle ()
110-
110+
111111 Text (text2)
112112 }
113-
113+
114114 // NumberPad + OneTimeCode + Rounded Border
115115 Group {
116116 Text (" NumberPad + OneTimeCode + Rounded Border" )
@@ -127,10 +127,10 @@ struct ContentView: View {
127127 .respondableKeyboardType (.numberPad )
128128 .respondableContentType (.oneTimeCode )
129129 .textFieldStyle (RoundedBorderTextFieldStyle ())
130-
130+
131131 Text (text3)
132132 }
133-
133+
134134 // didEndEditing + Bazel Border + Font
135135 Group {
136136 Text (" didBeginEditing + didEndEditing + Bazel Border" )
@@ -146,10 +146,10 @@ struct ContentView: View {
146146 }
147147 .respondableBezelStyle ()
148148 .respondableFont (.systemFont (ofSize : 20 , weight : .bold ))
149-
149+
150150 Text (text4)
151151 }
152-
152+
153153 } //: V
154154 .padding ()
155155 } //: S
0 commit comments