Update README.md

This commit is contained in:
Jungpyo Hong 2021-04-23 02:25:02 -05:00 committed by GitHub
parent 0c851ddc84
commit 89a2d58088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,9 @@ This extension makes JSON more structable
## Useful Stuff
### Show Preview in UIKit(Build UI with Code Base)
### Show Preview in UIKit(Build UI with Code Base) 👍 👍 👍 👍 👍
Copy this code and Paste into your controller
```swift
import SwiftUI
@ -206,3 +208,7 @@ struct ViewPreview: PreviewProvider {
}
}
```
Enable canvas option like this
<img src="https://github.com/jphong1111/Useful_Swift/blob/main/Images/preview%20using%20canvas.png">