Update README.md

This commit is contained in:
Alexandr Goncharov 2020-10-19 21:49:10 +03:00
parent 0acfd29998
commit 5a59c77fc2
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,17 @@
# UIPreview
Generate UI catalog from all your views
![Build](https://github.com/0111b/UIPreview/workflows/Build/badge.svg)
This package provide a set of helper methods and types to generate full featured UI catalog from your *UIView*'s and Swift UI *View*'s
[API documentation](https://github.com/0111b/UIPreview/wiki)
## TODO ##
- [ ] Improve documentation
- [ ] Add customisation points
- [ ] Mac/Catalyst support
- [x] Github mirror

View File

@ -7,7 +7,7 @@ import UIKit
@available(iOS 13, *)
public struct UIViewWrapper<ContentView: UIView>: UIViewRepresentable {
let contextBuilder: () -> ViewCoordinator<ContentView>
/// Make new instance with given parameters
/// - Parameters:
/// - builder: describes how to build content