Any advice for getting RevenueCat to work with SwiftUI?

I cant figure out how to get RevenueCat integrated with SwiftUI. Chirs has a good course for using RevenueCat with UIKit. But I cant seem to figure out how to convert it to SwiftUI because i do not understand the SwiftUI equivalent of the UIKit AppDelegate.

Its got to be easy to get RevenueCat to work with SwiftUI, probably 10 lines of code or less. But I can’t figure it out:)

I have looked on the RevenueCat website and nothing there I could find which is very surprising gien RevenueCat’s rapid growth and the importance of SwiftUI.

I did find this:

but I havent tried it yet