Add readme

This commit is contained in:
Lois Di Qual 2019-11-26 16:23:07 -08:00
parent 43d7f1c9fb
commit 013a01ce87
1 changed files with 20 additions and 0 deletions

20
README.md Normal file
View File

@ -0,0 +1,20 @@
Introspect for SwiftUI
======================
Introspect allows you to get the underlying UIKit element of a SwiftUI view.
SwiftUI | UIKit | Introspect
--- | --- | ---
Text | UILabel | `.introspectLabel()`
Image | UIImageView | `.introspectImageView()`
TextField | UITextField | `.introspectTextField()`
Toggle | UISwitch | `.introspectSwitch()`
Slider | UISlider | `.introspectSlider()`
Button | UIButton | `.introspectButton()`
List | UITableView | `.introspectTableView()`
ScrollView | UIScrollView | `.introspectScrollView()`
NavigationView | UINavigationController | `.introspectNavigationController()`
TabbedView | UITabBarController | `.introspectTabBarController()`
SegmentedControl | UISegmentedControl | `.introspectSegmentedControl()`
Stepper | UIStepper | `.introspectStepper()`
DatePicker | UIDatePicker | `.introspectDatePicker()`