Vasilis

addition of openGifts

......@@ -16,6 +16,7 @@
- (void) setToStage;
- (void) setLang:(NSString*) lang;
- (UIViewController *) openCoupons:(UIView*) parentView;
- (UIViewController *) openGifts;
- (void) applicationDidEnterBackground:(UIApplication *)application;
- (void) applicationWillEnterForeground:(UIApplication *)application;
- (void) applicationDidBecomeActive:(UIApplication *)application;
......
......@@ -52,16 +52,15 @@ NSString *LANG;
return couponsViewController;
}
//- (UIViewController *) openCoupons {
//// NSString* const frameworkBundleID = @"framework.warp.ly.WarplySDKFrameworkIOS";
//// NSBundle* bundle = [NSBundle bundleWithIdentifier:frameworkBundleID];
//// NSBundle *bundle = [NSBundle bundleForClass:Coupons];
////
////
//// UIViewController *myCoupons = [[bundle loadNibNamed:@"Coupons" owner:self options:nil] objectAtIndex:0];
// Coupons *couponsView = [[UIViewController alloc] init];
// return couponsView;
//}
- (UIViewController *) openGifts{
UIViewController *giftsViewController = [GiftsViewInterface giftsViewController];
// controller = [[UINavigationController alloc]initWithRootViewController:profileViewController];
// [window makeKeyAndVisible];
return giftsViewController;
}
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)applicationDidEnterBackground:(UIApplication *)application
......