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