[返回目錄](https://hackmd.io/78LEM4nRQ_uB8zOu1muVWQ) # UIKit接入SwiftUI 先備知識 https://sarunw.com/posts/uikit-in-swiftui/ - **UIViewRepresentable** 或 **UIViewControllerRepresentable** - 類型1 - makeUIView - updateUIView  - 類型2 Coordinator   ## 何時使用 coordinator Coordinator act as delegate and dataSuorce instead of target 其他資源及參考 --- - [wrap a custom uiview](https://www.hackingwithswift.com/quick-start/swiftui/how-to-wrap-a-custom-uiview-for-swiftui) - [makeCoordinator](https://developer.apple.com/documentation/swiftui/uiviewcontrollerrepresentable/3309742-makecoordinator)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up