RSMoneyMaker 0.0.18

RSMoneyMaker 0.0.18

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布2017年3月

Venkat Rao 维护。



特性

组件

RSMoneyMaker-Core - RSMoneyMaker-UI -

需求

此项目仅在 iOS 上进行过测试。

安装

RSMoneyMaker 通过 CocoaPods 提供。要安装它,简单地在您的 Podfile 中添加以下行

pod "RSMoneyMaker"

使用

初始化

IAPProduct *weatherProduct = [IAPProduct new];
weatherProduct.iapIdentifier = WeatherProductIdentifier;
weatherProduct.defaults = @{ @"weather_location_type": @"currentLocation",
                             @"show_weather": @YES };

[IAPManager initializeStoreWithProducts:@[weatherProduct] withSharedSecret:@"..."];

进行购买

IAPManager *manager = [IAPManager sharedManager];
[manager purchaseProduct:[IAPProducts productForIdentifier:self.productIdentifier].storeKitProduct withCompletion:^(NSError *error) {
 ...
}];

用户界面组件

作者

Venkat S. Rao, [email protected]

许可证

RSStoreKit 在 MIT 许可证下提供。有关更多信息,请参阅 LICENSE 文件。