@@ -20,7 +20,7 @@ For instance, when introspecting a `ScrollView`...
2020ScrollView {
2121 Text (" Item 1" )
2222}
23- .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 )) { scrollView in
23+ .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 )) { scrollView in
2424 // do something with UIScrollView
2525}
2626```
@@ -38,7 +38,7 @@ By default, the `.introspect` modifier acts directly on its _receiver_. This mea
3838``` swift
3939ScrollView {
4040 Text (" Item 1" )
41- .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 ), scope : .ancestor ) { scrollView in
41+ .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 ), scope : .ancestor ) { scrollView in
4242 // do something with UIScrollView
4343 }
4444}
@@ -157,7 +157,7 @@ List {
157157 tableView.backgroundView = UIView ()
158158 tableView.backgroundColor = .cyan
159159}
160- .introspect (.list , on : .iOS (.v16 , .v17 , .v18 )) { collectionView in
160+ .introspect (.list , on : .iOS (.v16 , .v17 , .v18 , . v26 )) { collectionView in
161161 collectionView.backgroundView = UIView ()
162162 collectionView.subviews .dropFirst (1 ).first ? .backgroundColor = .cyan
163163}
@@ -169,7 +169,7 @@ List {
169169ScrollView {
170170 Text (" Item" )
171171}
172- .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 )) { scrollView in
172+ .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 )) { scrollView in
173173 scrollView.backgroundColor = .red
174174}
175175```
@@ -181,7 +181,7 @@ NavigationView {
181181 Text (" Item" )
182182}
183183.navigationViewStyle (.stack )
184- .introspect (.navigationView (style : .stack ), on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 )) { navigationController in
184+ .introspect (.navigationView (style : .stack ), on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 )) { navigationController in
185185 navigationController.navigationBar .backgroundColor = .cyan
186186}
187187```
@@ -190,7 +190,7 @@ NavigationView {
190190
191191``` swift
192192TextField (" Text Field" , text : < #Binding < String > #> )
193- .introspect (.textField , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 )) { textField in
193+ .introspect (.textField , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 )) { textField in
194194 textField.backgroundColor = .red
195195 }
196196```
@@ -290,7 +290,7 @@ struct ContentView: View {
290290 ScrollView {
291291 // ...
292292 }
293- .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 )) { scrollView in
293+ .introspect (.scrollView , on : .iOS (.v13 , .v14 , .v15 , .v16 , .v17 , .v18 , . v26 )) { scrollView in
294294 self .scrollView = scrollView
295295 }
296296 }
0 commit comments