Skip to content

Commit 1178fa1

Browse files
committed
首页改版
1 parent e621100 commit 1178fa1

10 files changed

+150
-356
lines changed

Coding_iOS/Controllers/ProjectListViewController.m

-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ - (void)viewDidLoad {
1616
self.icarouselScrollEnabled = YES;
1717
}
1818

19-
20-
-(void)viewWillAppear:(BOOL)animated{
21-
[super viewWillAppear:animated];
22-
[self.mySearchBar removeFromSuperview];
23-
//重置titleview
24-
self.navigationItem.titleView=[[[[self.navigationController viewControllers] lastObject] navigationItem] titleView];
25-
}
26-
2719
- (void)setupNavBtn{
2820
self.navigationItem.leftBarButtonItem = nil;
2921
self.navigationItem.rightBarButtonItem = nil;

Coding_iOS/Controllers/RootControllers/Project_RootViewController.h

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#import "Projects.h"
1111
#import "XTSegmentControl.h"
1212
#import "iCarousel.h"
13-
#import "CategorySearchBar.h"
1413

1514
@interface Project_RootViewController : BaseViewController<iCarouselDataSource, iCarouselDelegate>
1615
@property (strong, nonatomic) NSArray *segmentItems;
@@ -19,5 +18,4 @@
1918
@property (assign, nonatomic) NSInteger oldSelectedIndex;
2019
@property (strong, nonatomic) iCarousel *myCarousel;
2120
@property (assign, nonatomic) BOOL useNewStyle;
22-
@property (strong, nonatomic) MainSearchBar *mySearchBar;
2321
@end

0 commit comments

Comments
 (0)