Vasilis

update

Showing 23 changed files with 212 additions and 28 deletions
1 +#ifdef __OBJC__
2 +#import <UIKit/UIKit.h>
3 +#else
4 +#ifndef FOUNDATION_EXPORT
5 +#if defined(__cplusplus)
6 +#define FOUNDATION_EXPORT extern "C"
7 +#else
8 +#define FOUNDATION_EXPORT extern
9 +#endif
10 +#endif
11 +#endif
12 +
13 +
14 +FOUNDATION_EXPORT double Pods_WarplySDKFrameworkIOSVersionNumber;
15 +FOUNDATION_EXPORT const unsigned char Pods_WarplySDKFrameworkIOSVersionString[];
16 +
1 +framework module Pods_WarplySDKFrameworkIOS {
2 + umbrella header "Pods-WarplySDKFrameworkIOS-umbrella.h"
3 +
4 + export *
5 + module * { export * }
6 +}
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>files</key>
6 + <dict>
7 + <key>Headers/Pods-WarplySDKFrameworkIOS-umbrella.h</key>
8 + <data>
9 + 0u2kINaDS4F+qXZNx444hVBNOGk=
10 + </data>
11 + <key>Info.plist</key>
12 + <data>
13 + huI/v1uhxS//8AtgPx6qvdvnqH0=
14 + </data>
15 + <key>Modules/module.modulemap</key>
16 + <data>
17 + tcGlRNcQKmEnA4r4h8bZioqurwI=
18 + </data>
19 + </dict>
20 + <key>files2</key>
21 + <dict>
22 + <key>Headers/Pods-WarplySDKFrameworkIOS-umbrella.h</key>
23 + <dict>
24 + <key>hash</key>
25 + <data>
26 + 0u2kINaDS4F+qXZNx444hVBNOGk=
27 + </data>
28 + <key>hash2</key>
29 + <data>
30 + BxtFMSMPAGMDvLjuQBpSLDnxxzEJy6IUWoGWlONumnw=
31 + </data>
32 + </dict>
33 + <key>Modules/module.modulemap</key>
34 + <dict>
35 + <key>hash</key>
36 + <data>
37 + tcGlRNcQKmEnA4r4h8bZioqurwI=
38 + </data>
39 + <key>hash2</key>
40 + <data>
41 + kVHI0h/TDIXpVL+NW96Xyrgh6u3KmiKeJO3LR310uJI=
42 + </data>
43 + </dict>
44 + </dict>
45 + <key>rules</key>
46 + <dict>
47 + <key>^.*</key>
48 + <true/>
49 + <key>^.*\.lproj/</key>
50 + <dict>
51 + <key>optional</key>
52 + <true/>
53 + <key>weight</key>
54 + <real>1000</real>
55 + </dict>
56 + <key>^.*\.lproj/locversion.plist$</key>
57 + <dict>
58 + <key>omit</key>
59 + <true/>
60 + <key>weight</key>
61 + <real>1100</real>
62 + </dict>
63 + <key>^Base\.lproj/</key>
64 + <dict>
65 + <key>weight</key>
66 + <real>1010</real>
67 + </dict>
68 + <key>^version.plist$</key>
69 + <true/>
70 + </dict>
71 + <key>rules2</key>
72 + <dict>
73 + <key>.*\.dSYM($|/)</key>
74 + <dict>
75 + <key>weight</key>
76 + <real>11</real>
77 + </dict>
78 + <key>^(.*/)?\.DS_Store$</key>
79 + <dict>
80 + <key>omit</key>
81 + <true/>
82 + <key>weight</key>
83 + <real>2000</real>
84 + </dict>
85 + <key>^.*</key>
86 + <true/>
87 + <key>^.*\.lproj/</key>
88 + <dict>
89 + <key>optional</key>
90 + <true/>
91 + <key>weight</key>
92 + <real>1000</real>
93 + </dict>
94 + <key>^.*\.lproj/locversion.plist$</key>
95 + <dict>
96 + <key>omit</key>
97 + <true/>
98 + <key>weight</key>
99 + <real>1100</real>
100 + </dict>
101 + <key>^Base\.lproj/</key>
102 + <dict>
103 + <key>weight</key>
104 + <real>1010</real>
105 + </dict>
106 + <key>^Info\.plist$</key>
107 + <dict>
108 + <key>omit</key>
109 + <true/>
110 + <key>weight</key>
111 + <real>20</real>
112 + </dict>
113 + <key>^PkgInfo$</key>
114 + <dict>
115 + <key>omit</key>
116 + <true/>
117 + <key>weight</key>
118 + <real>20</real>
119 + </dict>
120 + <key>^embedded\.provisionprofile$</key>
121 + <dict>
122 + <key>weight</key>
123 + <real>20</real>
124 + </dict>
125 + <key>^version\.plist$</key>
126 + <dict>
127 + <key>weight</key>
128 + <real>20</real>
129 + </dict>
130 + </dict>
131 +</dict>
132 +</plist>
No preview for this file type
...@@ -8,21 +8,27 @@ ...@@ -8,21 +8,27 @@
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 +#import <CoreMotion/CoreMotion.h>
11 @class Warply; 12 @class Warply;
12 13
13 @interface MyApi : NSObject 14 @interface MyApi : NSObject
14 15
15 @property (nonatomic, weak) Warply *warply; 16 @property (nonatomic, weak) Warply *warply;
16 17
17 -+ (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; 18 +- (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang;
18 - (void) setToStage; 19 - (void) setToStage;
19 - (void) setLang:(NSString*) lang; 20 - (void) setLang:(NSString*) lang;
21 +- (void) getSteps:(void(^)(CMPedometerData* stepsData)) completion;
20 - (UIViewController *) openCoupons:(UIView*) parentView; 22 - (UIViewController *) openCoupons:(UIView*) parentView;
21 -- (UIViewController *) openCoupon:(UIView*) parentView; 23 +//- (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon;
24 +//- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon;
22 - (UIViewController *) openGifts:(UIView*) parentView; 25 - (UIViewController *) openGifts:(UIView*) parentView;
26 +- (UIViewController *) openAllGifts:(UIView*) parentView;
27 +- (UIViewController *) openOldCoupons:(UIView*) parentView;
23 - (UIViewController *) openWallet:(UIView*) parentView; 28 - (UIViewController *) openWallet:(UIView*) parentView;
24 - (UIViewController *) openMoreForYou:(UIView*) parentView; 29 - (UIViewController *) openMoreForYou:(UIView*) parentView;
25 - (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign; 30 - (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign;
31 +- (UIViewController *) openSteps:(UIView*) parentView;
26 - (NSDictionary *) provideInfoForCampaign; 32 - (NSDictionary *) provideInfoForCampaign;
27 - (void) applicationDidEnterBackground:(UIApplication *)application; 33 - (void) applicationDidEnterBackground:(UIApplication *)application;
28 - (void) applicationWillEnterForeground:(UIApplication *)application; 34 - (void) applicationWillEnterForeground:(UIApplication *)application;
......
...@@ -215,9 +215,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); ...@@ -215,9 +215,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
215 #endif 215 #endif
216 216
217 @class UIView; 217 @class UIView;
218 -@class NSString;
219 @class UIViewController; 218 @class UIViewController;
220 219
220 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21AllGiftsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
221 +@interface AllGiftsViewInterface : NSObject
222 ++ (UIViewController * _Nonnull)allGiftsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
223 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
224 +@end
225 +
226 +@class NSString;
227 +
221 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0) 228 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
222 @interface CampaignViewInterface : NSObject 229 @interface CampaignViewInterface : NSObject
223 + (UIViewController * _Nonnull)campaignViewController:(UIView * _Nullable)parentView :(NSString * _Nullable)campaign SWIFT_WARN_UNUSED_RESULT; 230 + (UIViewController * _Nonnull)campaignViewController:(UIView * _Nullable)parentView :(NSString * _Nullable)campaign SWIFT_WARN_UNUSED_RESULT;
...@@ -225,18 +232,22 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABI ...@@ -225,18 +232,22 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABI
225 @end 232 @end
226 233
227 234
235 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS26CouponBarcodeViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
236 +@interface CouponBarcodeViewInterface : NSObject
237 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
238 +@end
239 +
240 +
228 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19CouponViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0) 241 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19CouponViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
229 @interface CouponViewInterface : NSObject 242 @interface CouponViewInterface : NSObject
230 -+ (UIViewController * _Nonnull)couponViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
231 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; 243 - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
232 @end 244 @end
233 245
234 @class NSBundle; 246 @class NSBundle;
235 @class NSCoder; 247 @class NSCoder;
236 248
237 -SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS7Coupons") 249 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CouponsViewController")
238 -@interface Coupons : UIViewController 250 +@interface CouponsViewController : UIViewController
239 -- (void)viewDidLoad;
240 - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; 251 - (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
241 - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; 252 - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
242 @end 253 @end
...@@ -263,6 +274,19 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23MoreForYouViewInterface") SWIFT_AVAILA ...@@ -263,6 +274,19 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23MoreForYouViewInterface") SWIFT_AVAILA
263 @end 274 @end
264 275
265 276
277 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23OldCouponsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
278 +@interface OldCouponsViewInterface : NSObject
279 ++ (UIViewController * _Nonnull)oldCouponsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
280 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
281 +@end
282 +
283 +
284 +SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS18StepsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
285 +@interface StepsViewInterface : NSObject
286 ++ (UIViewController * _Nonnull)stepsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
287 +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
288 +@end
289 +
266 290
267 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19WalletViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0) 291 SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19WalletViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
268 @interface WalletViewInterface : NSObject 292 @interface WalletViewInterface : NSObject
......
...@@ -6,19 +6,15 @@ ...@@ -6,19 +6,15 @@
6 <dict> 6 <dict>
7 <key>Assets.car</key> 7 <key>Assets.car</key>
8 <data> 8 <data>
9 - Sv8XIbSR9OxSAsmj4sPkpYWnDEw= 9 + H98HV9fKO/68Dlq6WRB7qzjvLyg=
10 - </data>
11 - <key>Coupons.nib</key>
12 - <data>
13 - U1ckDGrJNDxW08P7htkWHJqRgWQ=
14 </data> 10 </data>
15 <key>Headers/MyApi.h</key> 11 <key>Headers/MyApi.h</key>
16 <data> 12 <data>
17 - M9yzVh8mzLc3NPejOWobcrtVQjc= 13 + LA5YP+CyhnCdg4vry3B0AlMbLdo=
18 </data> 14 </data>
19 <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> 15 <key>Headers/WarplySDKFrameworkIOS-Swift.h</key>
20 <data> 16 <data>
21 - KMiEz0gigGj3xhIrjNFzjLuB+iY= 17 + ktQ8lCQ9zZuyBPabiQdnr2o+4Gw=
22 </data> 18 </data>
23 <key>Headers/WarplySDKFrameworkIOS.h</key> 19 <key>Headers/WarplySDKFrameworkIOS.h</key>
24 <data> 20 <data>
...@@ -26,11 +22,15 @@ ...@@ -26,11 +22,15 @@
26 </data> 22 </data>
27 <key>Info.plist</key> 23 <key>Info.plist</key>
28 <data> 24 <data>
29 - NxT42dfs8pfWlZ9TqJrAU82W4HA= 25 + aCEMSKVNv1YmddCEhXL+qubnMuc=
26 + </data>
27 + <key>Main.storyboardc/Info.plist</key>
28 + <data>
29 + GnMdGFfDuvwAuWJN7FS9ELLozY4=
30 </data> 30 </data>
31 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key> 31 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
32 <data> 32 <data>
33 - iwUGtcKaXWA+c3DJRAn9Fwt0u14= 33 + crzBHRr/jl5LU8Rlk1HrhxiRA2o=
34 </data> 34 </data>
35 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> 35 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
36 <data> 36 <data>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 </data> 38 </data>
39 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key> 39 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
40 <data> 40 <data>
41 - PRox5YttHhrwDHkyDTBL/M0F1/A= 41 + Q7MVF1/dsxUPHM4ezBK4NltW2PE=
42 </data> 42 </data>
43 <key>Modules/module.modulemap</key> 43 <key>Modules/module.modulemap</key>
44 <data> 44 <data>
...@@ -91,42 +91,42 @@ ...@@ -91,42 +91,42 @@
91 <dict> 91 <dict>
92 <key>hash2</key> 92 <key>hash2</key>
93 <data> 93 <data>
94 - zlix7beiNI+rS9T0lYaSjWMz+W2Jhyaiex01/556r0w= 94 + h4QO3mz6jx9XpzETyvlAiePIy/TdZHqZN1qI47Wwa9w=
95 </data> 95 </data>
96 </dict> 96 </dict>
97 - <key>Coupons.nib</key> 97 + <key>Headers/MyApi.h</key>
98 <dict> 98 <dict>
99 <key>hash2</key> 99 <key>hash2</key>
100 <data> 100 <data>
101 - mM03M76vk3gs0o89PfobwLZanZilelkwSEDNE2pEzcY= 101 + AhtGoRICZKn7X7Yp9SM/6FEZYSYVLc9J9p1fUnN/YEE=
102 </data> 102 </data>
103 </dict> 103 </dict>
104 - <key>Headers/MyApi.h</key> 104 + <key>Headers/WarplySDKFrameworkIOS-Swift.h</key>
105 <dict> 105 <dict>
106 <key>hash2</key> 106 <key>hash2</key>
107 <data> 107 <data>
108 - W6uhbRkDnYcqt2ay4rZhUKG1ujDp8GA1p/Nq6dOvKeE= 108 + aveg1eOEOelZgyTtLpFfcpJng4P+j7EGRjKNym5GXTY=
109 </data> 109 </data>
110 </dict> 110 </dict>
111 - <key>Headers/WarplySDKFrameworkIOS-Swift.h</key> 111 + <key>Headers/WarplySDKFrameworkIOS.h</key>
112 <dict> 112 <dict>
113 <key>hash2</key> 113 <key>hash2</key>
114 <data> 114 <data>
115 - I24hSVSs4tMqeoB2NxnOYWMhg6SPefjV653/Jg9uSWs= 115 + vzJVcnjXgi6I7JknI81AWPBmBkpWBqV47pSppt4U80Q=
116 </data> 116 </data>
117 </dict> 117 </dict>
118 - <key>Headers/WarplySDKFrameworkIOS.h</key> 118 + <key>Main.storyboardc/Info.plist</key>
119 <dict> 119 <dict>
120 <key>hash2</key> 120 <key>hash2</key>
121 <data> 121 <data>
122 - vzJVcnjXgi6I7JknI81AWPBmBkpWBqV47pSppt4U80Q= 122 + 9gq+m2SfIqZdO4RnP+Q5bwx0h1nftPpvwkJZZ8jBiZE=
123 </data> 123 </data>
124 </dict> 124 </dict>
125 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key> 125 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
126 <dict> 126 <dict>
127 <key>hash2</key> 127 <key>hash2</key>
128 <data> 128 <data>
129 - vGg+X7B/LiMVlsNFrYWSwIcERR/u+DgOFZF0Tw/mBFc= 129 + MBPT/j5ayi+8lHIUoR3a5uW24SJs9+efvF1T9Dx9Qgo=
130 </data> 130 </data>
131 </dict> 131 </dict>
132 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key> 132 <key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
140 <dict> 140 <dict>
141 <key>hash2</key> 141 <key>hash2</key>
142 <data> 142 <data>
143 - /HjJDV84ppN6eB9f+X2/+7agZRTJLyNJEKvhKpE7f5I= 143 + E395WyU0JNQjdX0ly6DR+0FblpTxt2WGCBsMqWpyP3s=
144 </data> 144 </data>
145 </dict> 145 </dict>
146 <key>Modules/module.modulemap</key> 146 <key>Modules/module.modulemap</key>
......