Showing
3 changed files
with
10 additions
and
10 deletions
No preview for this file type
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
16 | - (void) setToStage; | 16 | - (void) setToStage; |
17 | - (void) setLang:(NSString*) lang; | 17 | - (void) setLang:(NSString*) lang; |
18 | - (UIViewController *) openCoupons:(UIView*) parentView; | 18 | - (UIViewController *) openCoupons:(UIView*) parentView; |
19 | +- (UIViewController *) openGifts; | ||
19 | - (void) applicationDidEnterBackground:(UIApplication *)application; | 20 | - (void) applicationDidEnterBackground:(UIApplication *)application; |
20 | - (void) applicationWillEnterForeground:(UIApplication *)application; | 21 | - (void) applicationWillEnterForeground:(UIApplication *)application; |
21 | - (void) applicationDidBecomeActive:(UIApplication *)application; | 22 | - (void) applicationDidBecomeActive:(UIApplication *)application; | ... | ... |
... | @@ -52,16 +52,15 @@ NSString *LANG; | ... | @@ -52,16 +52,15 @@ NSString *LANG; |
52 | return couponsViewController; | 52 | return couponsViewController; |
53 | } | 53 | } |
54 | 54 | ||
55 | -//- (UIViewController *) openCoupons { | 55 | +- (UIViewController *) openGifts{ |
56 | -//// NSString* const frameworkBundleID = @"framework.warp.ly.WarplySDKFrameworkIOS"; | 56 | + |
57 | -//// NSBundle* bundle = [NSBundle bundleWithIdentifier:frameworkBundleID]; | 57 | + UIViewController *giftsViewController = [GiftsViewInterface giftsViewController]; |
58 | -//// NSBundle *bundle = [NSBundle bundleForClass:Coupons]; | 58 | +// controller = [[UINavigationController alloc]initWithRootViewController:profileViewController]; |
59 | -//// | 59 | + |
60 | -//// | 60 | +// [window makeKeyAndVisible]; |
61 | -//// UIViewController *myCoupons = [[bundle loadNibNamed:@"Coupons" owner:self options:nil] objectAtIndex:0]; | 61 | + return giftsViewController; |
62 | -// Coupons *couponsView = [[UIViewController alloc] init]; | 62 | +} |
63 | -// return couponsView; | 63 | + |
64 | -//} | ||
65 | 64 | ||
66 | /////////////////////////////////////////////////////////////////////////////////////////////////// | 65 | /////////////////////////////////////////////////////////////////////////////////////////////////// |
67 | - (void)applicationDidEnterBackground:(UIApplication *)application | 66 | - (void)applicationDidEnterBackground:(UIApplication *)application | ... | ... |
-
Please register or login to post a comment