Bundling a Realm with SwiftUI

I’m trying to migrate a UIKit app to SwiftUI.

I am having issues figuring out how to bundle a populated Realm.

Please let me know if you have an example this swift code.

Thank you.

There should not be any significant difference as there are no UI elements to Realm. The code and process should be the same.

Do you have existing code you’re having difficulty with or you just don’t know how to do it in general?

If you need to get started, the current documentation is lacking a bit on this topic but the legacy documentation has a section about Bundling A Realm