Vasilis

update

No preview for this file type
...@@ -8,14 +8,22 @@ ...@@ -8,14 +8,22 @@
8 #ifndef MyApi_h 8 #ifndef MyApi_h
9 #define MyApi_h 9 #define MyApi_h
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
11 -@class Coupons; 11 +@class Warply;
12 12
13 @interface MyApi : NSObject 13 @interface MyApi : NSObject
14 14
15 +@property (nonatomic, weak) Warply *warply;
16 +
15 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; 17 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang;
16 - (void) setToStage; 18 - (void) setToStage;
17 - (void) setLang:(NSString*) lang; 19 - (void) setLang:(NSString*) lang;
18 -- (UIViewController *) openCoupons; 20 +- (UIViewController *) openCoupons:(UIView*) parentView;
21 +- (UIViewController *) openCoupon:(UIView*) parentView;
22 +- (UIViewController *) openGifts:(UIView*) parentView;
23 +- (UIViewController *) openWallet:(UIView*) parentView;
24 +- (UIViewController *) openMoreForYou:(UIView*) parentView;
25 +- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign;
26 +- (NSDictionary *) provideInfoForCampaign;
19 - (void) applicationDidEnterBackground:(UIApplication *)application; 27 - (void) applicationDidEnterBackground:(UIApplication *)application;
20 - (void) applicationWillEnterForeground:(UIApplication *)application; 28 - (void) applicationWillEnterForeground:(UIApplication *)application;
21 - (void) applicationDidBecomeActive:(UIApplication *)application; 29 - (void) applicationDidBecomeActive:(UIApplication *)application;
...@@ -59,6 +67,7 @@ ...@@ -59,6 +67,7 @@
59 - (NSDictionary*)getCouponSetsWithActive:(NSNumber*)active andVisible:(NSNumber*)visible andUuids:(NSArray*)uuids; 67 - (NSDictionary*)getCouponSetsWithActive:(NSNumber*)active andVisible:(NSNumber*)visible andUuids:(NSArray*)uuids;
60 - (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon; 68 - (NSDictionary*)redeemCouponWithCoupon:(NSString*)coupon;
61 - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon; 69 - (NSDictionary*)validateCouponWithCoupon:(NSString*)coupon;
70 +- (NSDictionary*)loginCosmoteWithGuid:(NSString*)guid andAppUuid:(NSString*)appUuid andTicket:(NSString*)ticket;
62 71
63 @end 72 @end
64 #endif /* MyApi_h */ 73 #endif /* MyApi_h */
......
...@@ -189,7 +189,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); ...@@ -189,7 +189,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
189 #pragma clang diagnostic ignored "-Watimport-in-framework-header" 189 #pragma clang diagnostic ignored "-Watimport-in-framework-header"
190 #endif 190 #endif
191 @import ObjectiveC; 191 @import ObjectiveC;
192 -@import UIKit;
193 #endif 192 #endif
194 193
195 #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" 194 #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
...@@ -207,25 +206,51 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); ...@@ -207,25 +206,51 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
207 # pragma pop_macro("any") 206 # pragma pop_macro("any")
208 #endif 207 #endif
209 208
209 +@class UIView;
210 @class NSString; 210 @class NSString;
211 -@class NSBundle; 211 +@class UIViewController;
212 -@class NSCoder; 212 +
213 - 213 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
214 -SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS7Coupons") 214 +@interface CampaignViewInterface : NSObject
215 -@interface Coupons : UIViewController 215 ++ (UIViewController * _Nonnull)campaignViewController:(UIView * _Nullable)parentView :(NSString * _Nullable)campaign SWIFT_WARN_UNUSED_RESULT;
216 -- (void)viewDidLoad; 216 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
217 -- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; 217 +@end
218 -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; 218 +
219 +
220 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19CouponViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
221 +@interface CouponViewInterface : NSObject
222 ++ (UIViewController * _Nonnull)couponViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
223 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
219 @end 224 @end
220 225
221 226
222 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS20CouponsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0) 227 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS20CouponsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
223 @interface CouponsViewInterface : NSObject 228 @interface CouponsViewInterface : NSObject
224 -+ (UIViewController * _Nonnull)couponsViewController SWIFT_WARN_UNUSED_RESULT; 229 ++ (UIViewController * _Nonnull)couponsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
225 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; 230 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
226 @end 231 @end
227 232
228 233
234 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS18GiftsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
235 +@interface GiftsViewInterface : NSObject
236 ++ (UIViewController * _Nonnull)giftsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
237 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
238 +@end
239 +
240 +
241 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23MoreForYouViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
242 +@interface MoreForYouViewInterface : NSObject
243 ++ (UIViewController * _Nonnull)moreForYouViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
244 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
245 +@end
246 +
247 +
248 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19WalletViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
249 +@interface WalletViewInterface : NSObject
250 ++ (UIViewController * _Nonnull)walletViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
251 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
252 +@end
253 +
229 #if __has_attribute(external_source_symbol) 254 #if __has_attribute(external_source_symbol)
230 # pragma clang attribute pop 255 # pragma clang attribute pop
231 #endif 256 #endif
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <dict> 6 <dict>
7 <key>Assets.car</key> 7 <key>Assets.car</key>
8 <data> 8 <data>
9 - DKCYcKMV6Mb8OA/NHHg7t6AGfa4= 9 + /ozRXUeH5f7rK8V7YqRkg9tofZ8=
10 </data> 10 </data>
11 <key>Coupons.nib</key> 11 <key>Coupons.nib</key>
12 <data> 12 <data>
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
30 </data> 30 </data>
31 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key> 31 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key>
32 <data> 32 <data>
33 - eBAN8llSLGmuQa6JgB+/bvCKocM= 33 + G8EHL5AQxDz1LtDc4lGS38nFSMY=
34 </data> 34 </data>
35 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key> 35 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
36 <data> 36 <data>
37 - eBAN8llSLGmuQa6JgB+/bvCKocM= 37 + G8EHL5AQxDz1LtDc4lGS38nFSMY=
38 </data> 38 </data>
39 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key> 39 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
40 <data> 40 <data>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </data> 42 </data>
43 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key> 43 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key>
44 <data> 44 <data>
45 - 1iExhjTxsAwtv5bNFdv65aWHdKg= 45 + l8e7lz5VJ55C2Vbf3oAkocJOn4c=
46 </data> 46 </data>
47 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key> 47 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
48 <data> 48 <data>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 </data> 50 </data>
51 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftmodule</key> 51 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftmodule</key>
52 <data> 52 <data>
53 - 1iExhjTxsAwtv5bNFdv65aWHdKg= 53 + l8e7lz5VJ55C2Vbf3oAkocJOn4c=
54 </data> 54 </data>
55 <key>Modules/module.modulemap</key> 55 <key>Modules/module.modulemap</key>
56 <data> 56 <data>
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
103 <dict> 103 <dict>
104 <key>hash2</key> 104 <key>hash2</key>
105 <data> 105 <data>
106 - Xac4exlC0Qp2HTrh0qL4NHqQVZn0lK/wrvzwWVvxpkg= 106 + BUCD1FuzGHHbGTvkjD/cGpAb1UR/SRxslDgUCTWLeug=
107 </data> 107 </data>
108 </dict> 108 </dict>
109 <key>Coupons.nib</key> 109 <key>Coupons.nib</key>
...@@ -138,14 +138,14 @@ ...@@ -138,14 +138,14 @@
138 <dict> 138 <dict>
139 <key>hash2</key> 139 <key>hash2</key>
140 <data> 140 <data>
141 - GPQr6kHtjp8lLYKTLaCsSHGi2GCpIVmefCU43pyy5Qo= 141 + y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
142 </data> 142 </data>
143 </dict> 143 </dict>
144 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key> 144 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
145 <dict> 145 <dict>
146 <key>hash2</key> 146 <key>hash2</key>
147 <data> 147 <data>
148 - GPQr6kHtjp8lLYKTLaCsSHGi2GCpIVmefCU43pyy5Qo= 148 + y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
149 </data> 149 </data>
150 </dict> 150 </dict>
151 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key> 151 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
159 <dict> 159 <dict>
160 <key>hash2</key> 160 <key>hash2</key>
161 <data> 161 <data>
162 - 9xR0dOGrYO6hv16x5tQ09ZJVk1DK7dnCOre72WlqNiw= 162 + zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
163 </data> 163 </data>
164 </dict> 164 </dict>
165 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key> 165 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 <dict> 173 <dict>
174 <key>hash2</key> 174 <key>hash2</key>
175 <data> 175 <data>
176 - 9xR0dOGrYO6hv16x5tQ09ZJVk1DK7dnCOre72WlqNiw= 176 + zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
177 </data> 177 </data>
178 </dict> 178 </dict>
179 <key>Modules/module.modulemap</key> 179 <key>Modules/module.modulemap</key>
......