How to finish a custom keyboard with SwiftUI

Hello, I want to finish a custom keyboard with SwiftUI but I have no idea to complete and I can not find some way in SwiftUI by Tutorials 3rd Edition. So is there anyone can help me?