createML Importing Xcode swiftui app

I used createML to generate a text-categorized mlmodel file. I want to import it into my app and let users use it. How can I pour in and write code?

Please note: 1. My app was written with SwiftUI. 2. This createML mlmodel file is used for text classification.

createML Importing Xcode swiftui app
 
 
Q