How to implement in-app purchases for iOS? (storekit2)

I don’t understand how to implement storkit2 since it uses swift. Are there any ready-made plugins or solutions?