A demo for people who wants to add IAP in apps with swift(用swift实现IAP功能)
If you want to check this demo, you should run 'pod install' after you clone it, because i use some 3rd party plugin, besides you should set bundleId and provide your IAP product id
Find IAPModel, copy it to your project, subclass IAPModel,when you need a IAP purchase. For more infomation,check my demo