Vasilis

comment of old open methods

...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
22 - (UIViewController *) openCoupons:(UIView*) parentView; 22 - (UIViewController *) openCoupons:(UIView*) parentView;
23 //- (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon; 23 //- (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon;
24 //- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon; 24 //- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon;
25 -- (UIViewController *) openGifts:(UIView*) parentView; 25 +//- (UIViewController *) openGifts:(UIView*) parentView;
26 -- (UIViewController *) openAllGifts:(UIView*) parentView; 26 +//- (UIViewController *) openAllGifts:(UIView*) parentView;
27 -- (UIViewController *) openOldCoupons:(UIView*) parentView; 27 +//- (UIViewController *) openOldCoupons:(UIView*) parentView;
28 -- (UIViewController *) openWallet:(UIView*) parentView; 28 +//- (UIViewController *) openWallet:(UIView*) parentView;
29 -- (UIViewController *) openMoreForYou:(UIView*) parentView; 29 +//- (UIViewController *) openMoreForYou:(UIView*) parentView;
30 -- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign; 30 +//- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign;
31 -- (UIViewController *) openSteps:(UIView*) parentView; 31 +//- (UIViewController *) openSteps:(UIView*) parentView;
32 -- (UIViewController *) openDetails:(UIView*) parentView; 32 +//- (UIViewController *) openDetails:(UIView*) parentView;
33 - (NSDictionary *) provideInfoForCampaign; 33 - (NSDictionary *) provideInfoForCampaign;
34 - (void) applicationDidEnterBackground:(UIApplication *)application; 34 - (void) applicationDidEnterBackground:(UIApplication *)application;
35 - (void) applicationWillEnterForeground:(UIApplication *)application; 35 - (void) applicationWillEnterForeground:(UIApplication *)application;
......
...@@ -111,50 +111,50 @@ CMPedometer *pedometer; ...@@ -111,50 +111,50 @@ CMPedometer *pedometer;
111 // return couponBarcodeViewController; 111 // return couponBarcodeViewController;
112 //} 112 //}
113 113
114 -- (UIViewController *) openGifts:(UIView*) parentView{ 114 +//- (UIViewController *) openGifts:(UIView*) parentView{
115 - 115 +//
116 - UIViewController *giftsViewController = [GiftsViewInterface giftsViewController:parentView]; 116 +// UIViewController *giftsViewController = [GiftsViewInterface giftsViewController:parentView];
117 - return giftsViewController; 117 +// return giftsViewController;
118 -} 118 +//}
119 - 119 +//
120 -- (UIViewController *) openAllGifts:(UIView*) parentView{ 120 +//- (UIViewController *) openAllGifts:(UIView*) parentView{
121 - 121 +//
122 - UIViewController *allGiftsViewController = [AllGiftsViewInterface allGiftsViewController:parentView]; 122 +// UIViewController *allGiftsViewController = [AllGiftsViewInterface allGiftsViewController:parentView];
123 - return allGiftsViewController; 123 +// return allGiftsViewController;
124 -} 124 +//}
125 - 125 +//
126 -- (UIViewController *) openOldCoupons:(UIView*) parentView{ 126 +//- (UIViewController *) openOldCoupons:(UIView*) parentView{
127 - 127 +//
128 - UIViewController *oldCouponsViewController = [OldCouponsViewInterface oldCouponsViewController:parentView]; 128 +// UIViewController *oldCouponsViewController = [OldCouponsViewInterface oldCouponsViewController:parentView];
129 - return oldCouponsViewController; 129 +// return oldCouponsViewController;
130 -} 130 +//}
131 - 131 +//
132 -- (UIViewController *) openWallet:(UIView*) parentView{ 132 +//- (UIViewController *) openWallet:(UIView*) parentView{
133 - 133 +//
134 - UIViewController *wallletViewController = [WalletViewInterface walletViewController:parentView]; 134 +// UIViewController *wallletViewController = [WalletViewInterface walletViewController:parentView];
135 - return wallletViewController; 135 +// return wallletViewController;
136 -} 136 +//}
137 - 137 +//
138 -- (UIViewController *) openMoreForYou:(UIView*) parentView{ 138 +//- (UIViewController *) openMoreForYou:(UIView*) parentView{
139 - UIViewController *moreForYouViewController = [MoreForYouViewInterface moreForYouViewController:parentView]; 139 +// UIViewController *moreForYouViewController = [MoreForYouViewInterface moreForYouViewController:parentView];
140 - return moreForYouViewController; 140 +// return moreForYouViewController;
141 -} 141 +//}
142 - 142 +//
143 -- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign; { 143 +//- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign; {
144 - UIViewController *campaignViewController = [CampaignViewInterface campaignViewController:parentView :campaign]; 144 +// UIViewController *campaignViewController = [CampaignViewInterface campaignViewController:parentView :campaign];
145 - return campaignViewController; 145 +// return campaignViewController;
146 -} 146 +//}
147 - 147 +//
148 -- (UIViewController *) openSteps:(UIView*) parentView { 148 +//- (UIViewController *) openSteps:(UIView*) parentView {
149 - UIViewController *stepsViewController = [StepsViewInterface stepsViewController:parentView]; 149 +// UIViewController *stepsViewController = [StepsViewInterface stepsViewController:parentView];
150 - return stepsViewController; 150 +// return stepsViewController;
151 -} 151 +//}
152 - 152 +//
153 -- (UIViewController *) openDetails:(UIView*) parentView{ 153 +//- (UIViewController *) openDetails:(UIView*) parentView{
154 - 154 +//
155 - UIViewController *detailsViewController = [DetailsViewInterface detailsViewController:parentView]; 155 +// UIViewController *detailsViewController = [DetailsViewInterface detailsViewController:parentView];
156 - return detailsViewController; 156 +// return detailsViewController;
157 -} 157 +//}
158 158
159 - (NSDictionary *) provideInfoForCampaign { 159 - (NSDictionary *) provideInfoForCampaign {
160 NSMutableDictionary* info = [[NSMutableDictionary alloc] init]; 160 NSMutableDictionary* info = [[NSMutableDictionary alloc] init];
......
...@@ -364,15 +364,15 @@ public class swiftApi { ...@@ -364,15 +364,15 @@ public class swiftApi {
364 return CampaignDataModel().getData 364 return CampaignDataModel().getData
365 } 365 }
366 366
367 - public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { 367 +// public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController {
368 - return UIHostingController(rootView: CouponView(parentView: parent, coupon: coupon)) 368 +// return UIHostingController(rootView: CouponView(parentView: parent, coupon: coupon))
369 - } 369 +// }
370 - 370 +//
371 - public func openCouponBarcode(parent: UIView, coupon: CouponItemModel) -> UIViewController { 371 +// public func openCouponBarcode(parent: UIView, coupon: CouponItemModel) -> UIViewController {
372 - return UIHostingController(rootView: CouponBarcodeView(parentView: parent, coupon: coupon)) 372 +// return UIHostingController(rootView: CouponBarcodeView(parentView: parent, coupon: coupon))
373 - } 373 +// }
374 - 374 +//
375 - public func openSteps(parent: UIView) -> UIViewController { 375 +// public func openSteps(parent: UIView) -> UIViewController {
376 - return UIHostingController(rootView: StepsView(parentView: parent)) 376 +// return UIHostingController(rootView: StepsView(parentView: parent))
377 - } 377 +// }
378 } 378 }
......