Preview all the Things!
Not only can you preview your UIViewController
s, but now there is support for your UIView
s as well!
API Breaking changes:
- Renamed
PreviewView
toPreview
- You can no longer use
.wrapInNavigationController()
, instead make use of the second parameterPreview(for:navigationControllerStyle:)
Before:
PreviewView(for: YourViewController())
.wrapInNavigationController()
After:
Preview(for: YourViewController(), navigationControllerStyle: .wrap())