Commit 0994d1162b898b7e8d42930949fe0d9fa26d9c08
1 parent
f8bf1841
no message
Showing
2 changed files
with
6 additions
and
17 deletions
CNLiveIntegralModule/Classes/Controller/CNLiveTaskListController.m
| @@ -14,6 +14,9 @@ | @@ -14,6 +14,9 @@ | ||
| 14 | #import <Masonry/Masonry.h> | 14 | #import <Masonry/Masonry.h> |
| 15 | 15 | ||
| 16 | #import "CNLiveServices.h" | 16 | #import "CNLiveServices.h" |
| 17 | +#import "CNLiveNetworking.h" | ||
| 18 | +#import "CNLiveEnvironment.h" | ||
| 19 | +#import "CNUserInfoManager.h" | ||
| 17 | 20 | ||
| 18 | #import "CNLiveTaskListTableViewCell.h" | 21 | #import "CNLiveTaskListTableViewCell.h" |
| 19 | #import "CNLiveTaskListSectionHeaderView.h" | 22 | #import "CNLiveTaskListSectionHeaderView.h" |
| @@ -21,10 +24,6 @@ | @@ -21,10 +24,6 @@ | ||
| 21 | #import "CNLiveGoldWhereaboutsView.h"//金币下落 | 24 | #import "CNLiveGoldWhereaboutsView.h"//金币下落 |
| 22 | #import "CNLiveAddScoreView.h" | 25 | #import "CNLiveAddScoreView.h" |
| 23 | 26 | ||
| 24 | -#import "CNLiveNetworking.h" | ||
| 25 | -#import "CNLiveEnvironment.h" | ||
| 26 | -#import "CNUserInfoManager.h" | ||
| 27 | - | ||
| 28 | //#import "CNTabBarViewController.h" | 27 | //#import "CNTabBarViewController.h" |
| 29 | //#import "CNNavigationController.h" | 28 | //#import "CNNavigationController.h" |
| 30 | //#import "CNClassifySegmentController.h" | 29 | //#import "CNClassifySegmentController.h" |
| @@ -38,10 +37,7 @@ | @@ -38,10 +37,7 @@ | ||
| 38 | #import "CNLiveTaskListHeaderView.h" | 37 | #import "CNLiveTaskListHeaderView.h" |
| 39 | #import "CNLiveIntegralDetailsController.h"//积分明细 | 38 | #import "CNLiveIntegralDetailsController.h"//积分明细 |
| 40 | #import "CNLiveAddScoreManager.h" | 39 | #import "CNLiveAddScoreManager.h" |
| 41 | -//#import "CNTouristsLoginTipsView.h" | ||
| 42 | -//#import "CNWebRedirectHandle.h" | ||
| 43 | 40 | ||
| 44 | -//@interface CNLiveTaskListController ()<UITableViewDelegate,UITableViewDataSource,CNTaskListTableViewCellDelegate,CNLiveTaskListHeadViewDelegate,TouristsLoginTipsViewDelegate> | ||
| 45 | @interface CNLiveTaskListController ()<UITableViewDelegate,UITableViewDataSource,CNLiveTaskListTableViewCellDelegate,CNLiveTaskListHeaderViewDelegate> | 41 | @interface CNLiveTaskListController ()<UITableViewDelegate,UITableViewDataSource,CNLiveTaskListTableViewCellDelegate,CNLiveTaskListHeaderViewDelegate> |
| 46 | @property (nonatomic, strong) UITableView *tableView; | 42 | @property (nonatomic, strong) UITableView *tableView; |
| 47 | @property (nonatomic, strong) CNLiveTaskListHeaderView *headView; | 43 | @property (nonatomic, strong) CNLiveTaskListHeaderView *headView; |
| @@ -178,8 +174,7 @@ | @@ -178,8 +174,7 @@ | ||
| 178 | 174 | ||
| 179 | [self loadData]; | 175 | [self loadData]; |
| 180 | [self createUI]; | 176 | [self createUI]; |
| 181 | - [CNLiveGoldWhereaboutsView showWithDesc:@"asd" delegate:self]; | ||
| 182 | - | 177 | + |
| 183 | } | 178 | } |
| 184 | - (void)dealloc{ | 179 | - (void)dealloc{ |
| 185 | [[NSNotificationCenter defaultCenter] removeObserver:self name:@"AddScoreRequestSuccess" object:nil]; | 180 | [[NSNotificationCenter defaultCenter] removeObserver:self name:@"AddScoreRequestSuccess" object:nil]; |
Example/CNLiveIntegralModule/CNLIVEAppDelegate.m
| @@ -33,16 +33,10 @@ | @@ -33,16 +33,10 @@ | ||
| 33 | 33 | ||
| 34 | UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:vc]; | 34 | UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:vc]; |
| 35 | 35 | ||
| 36 | - | ||
| 37 | self.window.rootViewController = nav;//设置根视图控制器 | 36 | self.window.rootViewController = nav;//设置根视图控制器 |
| 38 | - | ||
| 39 | - | 37 | + |
| 40 | [self.window makeKeyAndVisible]; | 38 | [self.window makeKeyAndVisible]; |
| 41 | -// [CNLiveGoldWhereaboutsView showWithDesc:@"asd" delegate:self]; | ||
| 42 | - | ||
| 43 | -// [CNLiveAddScoreView showAddScoreViewWithDesc:@"asd" login:@"asdasd" delegate:self]; | ||
| 44 | - | ||
| 45 | -// [CNLiveSignInView showWithScore:@"asd" scores:@"312" day:1 url:@"http://www.baidu.com"]; | 39 | + |
| 46 | return YES; | 40 | return YES; |
| 47 | } | 41 | } |
| 48 | 42 |