Skip to content

Commit 894289d

Browse files
authored
Fix customized introspection example in README.md (#66)
I updated the class for creating a customized introspection. I noticed that it wasn't up to date with the classes you currently have implemented.
1 parent 36ecf80 commit 894289d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ In case Introspect doesn't support the SwiftUI element that you're looking for,
127127
```swift
128128
extension View {
129129
public func introspectTextField(customize: @escaping (UITextField) -> ()) -> some View {
130-
return inject(IntrospectionView(
130+
return inject(UIKitIntrospectionView(
131131
selector: { introspectionView in
132132
guard let viewHost = Introspect.findViewHost(from: introspectionView) else {
133133
return nil

0 commit comments

Comments
 (0)