Showing
11 changed files
with
20 additions
and
18 deletions
No preview for this file type
No preview for this file type
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | ||
| 16 | @property (nonatomic, weak) Warply *warply; | 16 | @property (nonatomic, weak) Warply *warply; |
| 17 | 17 | ||
| 18 | -- (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; | 18 | +- (void) initialize:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; |
| 19 | - (void) setToStage; | 19 | - (void) setToStage; |
| 20 | - (void) setLang:(NSString*) lang; | 20 | - (void) setLang:(NSString*) lang; |
| 21 | - (void) getSteps:(void(^)(CMPedometerData* stepsData)) completion; | 21 | - (void) getSteps:(void(^)(CMPedometerData* stepsData)) completion; |
| ... | @@ -75,6 +75,8 @@ | ... | @@ -75,6 +75,8 @@ |
| 75 | - (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon; | 75 | - (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon; |
| 76 | - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon; | 76 | - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon; |
| 77 | - (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket; | 77 | - (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket; |
| 78 | +- (void)getCouponsWithSuccessBlock:(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure; | ||
| 79 | +- (void)getCouponsetsAsync:(NSNumber*) active andVisible:(NSNumber*) visible andUuids:(NSArray*) uuids :(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure; | ||
| 78 | 80 | ||
| 79 | @end | 81 | @end |
| 80 | #endif /* MyApi_h */ | 82 | #endif /* MyApi_h */ | ... | ... |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
| ... | @@ -6,11 +6,11 @@ | ... | @@ -6,11 +6,11 @@ |
| 6 | <dict> | 6 | <dict> |
| 7 | <key>Assets.car</key> | 7 | <key>Assets.car</key> |
| 8 | <data> | 8 | <data> |
| 9 | - 7EDxFp87qExczKCuMkz6DNCEZA8= | 9 | + Zh4H4eMSqAMmQ8/LKGWmQXKP17g= |
| 10 | </data> | 10 | </data> |
| 11 | <key>Headers/MyApi.h</key> | 11 | <key>Headers/MyApi.h</key> |
| 12 | <data> | 12 | <data> |
| 13 | - 196XStRuq0cclRwEY1CAO2lBqiw= | 13 | + wE5tkULA7hpoAfUU8fqakNg9/Zg= |
| 14 | </data> | 14 | </data> |
| 15 | <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> | 15 | <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> |
| 16 | <data> | 16 | <data> |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | </data> | 22 | </data> |
| 23 | <key>Info.plist</key> | 23 | <key>Info.plist</key> |
| 24 | <data> | 24 | <data> |
| 25 | - jcbIheJY9pJuJdXMblnbai+L4xQ= | 25 | + ROb1nL1gbCquTWog44SvlgsYbr8= |
| 26 | </data> | 26 | </data> |
| 27 | <key>Main.storyboardc/CouponViewController.nib</key> | 27 | <key>Main.storyboardc/CouponViewController.nib</key> |
| 28 | <data> | 28 | <data> |
| ... | @@ -76,17 +76,17 @@ | ... | @@ -76,17 +76,17 @@ |
| 76 | <data> | 76 | <data> |
| 77 | 7duN6JxqnuAh64jeKlgcsZ2/cFs= | 77 | 7duN6JxqnuAh64jeKlgcsZ2/cFs= |
| 78 | </data> | 78 | </data> |
| 79 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key> | 79 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key> |
| 80 | <data> | 80 | <data> |
| 81 | - C6WwWY/Cl3XHKJjZ+UBcrfy0kRU= | 81 | + 4WEbEyq5ShzzJQpW0WpeOidx2bs= |
| 82 | </data> | 82 | </data> |
| 83 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key> | 83 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> |
| 84 | <data> | 84 | <data> |
| 85 | - qANAQFnwSi0xCRq85pV8C8E3PFc= | 85 | + W//Ue5C7lY2p1ImZOXY3bBzVrEM= |
| 86 | </data> | 86 | </data> |
| 87 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key> | 87 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key> |
| 88 | <data> | 88 | <data> |
| 89 | - zGTfIuJ3K0+yRnMblE99bfMuqbY= | 89 | + HYTooI1A10KtQpkfVgKMmlL5ems= |
| 90 | </data> | 90 | </data> |
| 91 | <key>Modules/module.modulemap</key> | 91 | <key>Modules/module.modulemap</key> |
| 92 | <data> | 92 | <data> |
| ... | @@ -143,14 +143,14 @@ | ... | @@ -143,14 +143,14 @@ |
| 143 | <dict> | 143 | <dict> |
| 144 | <key>hash2</key> | 144 | <key>hash2</key> |
| 145 | <data> | 145 | <data> |
| 146 | - D5TCRz+htZ4FSb1LQpcML6YvT0+TCOfrZ3Yz8dFK1gg= | 146 | + POIiqbTH4uecjmnSxkdGk/I39k0ddm2BPSzL/qAns74= |
| 147 | </data> | 147 | </data> |
| 148 | </dict> | 148 | </dict> |
| 149 | <key>Headers/MyApi.h</key> | 149 | <key>Headers/MyApi.h</key> |
| 150 | <dict> | 150 | <dict> |
| 151 | <key>hash2</key> | 151 | <key>hash2</key> |
| 152 | <data> | 152 | <data> |
| 153 | - +J+Z5serLUQ6lTYKE3zvFluf+tDsAjtsWgvrlcDiBJk= | 153 | + Xlyq44St0LuVPk3mTdg/C3g2t2oik0lRZv9tqeBSEiU= |
| 154 | </data> | 154 | </data> |
| 155 | </dict> | 155 | </dict> |
| 156 | <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> | 156 | <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> |
| ... | @@ -258,25 +258,25 @@ | ... | @@ -258,25 +258,25 @@ |
| 258 | XS9WV7jXmZpeKz1IcPz67p8jBDsfXroAQsUP0rXvoAQ= | 258 | XS9WV7jXmZpeKz1IcPz67p8jBDsfXroAQsUP0rXvoAQ= |
| 259 | </data> | 259 | </data> |
| 260 | </dict> | 260 | </dict> |
| 261 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key> | 261 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key> |
| 262 | <dict> | 262 | <dict> |
| 263 | <key>hash2</key> | 263 | <key>hash2</key> |
| 264 | <data> | 264 | <data> |
| 265 | - DjX7hjDTz4g/P8gh/+v+7zqqwFvINWk+ioQJIT16lpQ= | 265 | + CuH97Hh+lMTfwjM8H3ReGtpExNFzQPY8DJ8ZvhsdR+g= |
| 266 | </data> | 266 | </data> |
| 267 | </dict> | 267 | </dict> |
| 268 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key> | 268 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> |
| 269 | <dict> | 269 | <dict> |
| 270 | <key>hash2</key> | 270 | <key>hash2</key> |
| 271 | <data> | 271 | <data> |
| 272 | - 5BYiGrbJ3s7Vqp73j8APSd3nwYF3N7f6bZuj9Pv/e8g= | 272 | + e+PqdmyXiQNngPVEj9jGzBsQKm+mNwjzN/mRkE6ThIo= |
| 273 | </data> | 273 | </data> |
| 274 | </dict> | 274 | </dict> |
| 275 | - <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key> | 275 | + <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key> |
| 276 | <dict> | 276 | <dict> |
| 277 | <key>hash2</key> | 277 | <key>hash2</key> |
| 278 | <data> | 278 | <data> |
| 279 | - w47QoRZt1i3Aef251LY9lbtGbrCgLPuo92AZtWIHF90= | 279 | + xH65ckfBPRBMMfPCm/eKyufmraotTndN95Da5SFduk4= |
| 280 | </data> | 280 | </data> |
| 281 | </dict> | 281 | </dict> |
| 282 | <key>Modules/module.modulemap</key> | 282 | <key>Modules/module.modulemap</key> | ... | ... |
-
Please register or login to post a comment