Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a5d7b7

Browse filesBrowse files
committed
UI 优化
1 parent 05f9a5f commit 9a5d7b7
Copy full SHA for 9a5d7b7

File tree

Expand file treeCollapse file tree

77 files changed

+188
-161
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

77 files changed

+188
-161
lines changed
Open diff view settings
Collapse file

‎Coding_iOS.xcodeproj/project.pbxproj‎

Copy file name to clipboardExpand all lines: Coding_iOS.xcodeproj/project.pbxproj
+168-148Lines changed: 168 additions & 148 deletions
Large diffs are not rendered by default.
Collapse file

‎Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ - (void)viewDidLoad{
5252
// 添加myTableView
5353
_myTableView = ({
5454
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
55-
tableView.backgroundColor = [UIColor clearColor];
55+
tableView.backgroundColor = kColorTableSectionBg;
5656
tableView.dataSource = self;
5757
tableView.delegate = self;
5858
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
Collapse file

‎Coding_iOS/Controllers/NewProject/NewProjectTypeViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NewProject/NewProjectTypeViewController.m
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ - (void)viewDidLoad {
2424
[self.tableView setSeparatorColor:[UIColor colorWithRGBHex:0xe5e5e5]];
2525

2626
// 添加右上角按钮
27-
UIButton *submitButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
28-
[submitButton addTarget:self action:@selector(showHelpView) forControlEvents:UIControlEventTouchUpInside];
29-
UIBarButtonItem *submitButtonItem = [[UIBarButtonItem alloc] initWithCustomView:submitButton];
30-
self.navigationItem.rightBarButtonItem = submitButtonItem;
27+
// UIButton *submitButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
28+
// [submitButton addTarget:self action:@selector(showHelpView) forControlEvents:UIControlEventTouchUpInside];
29+
// UIBarButtonItem *submitButtonItem = [[UIBarButtonItem alloc] initWithCustomView:submitButton];
30+
// self.navigationItem.rightBarButtonItem = submitButtonItem;
31+
32+
[self.navigationItem setRightBarButtonItem:[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"info_Nav"] style:UIBarButtonItemStylePlain target:self action:@selector(showHelpView)] animated:NO];
33+
3134
}
3235

3336
-(void)showHelpView{
Collapse file

‎Coding_iOS/Controllers/ProjectSetting/ProjectAdvancedSettingViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/ProjectSetting/ProjectAdvancedSettingViewController.m
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cel
6767

6868
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
6969
[tableView deselectRowAtIndexPath:indexPath animated:YES];
70+
if (indexPath.row != 1) {
71+
return;
72+
}
7073

7174
static NSString *title = @"需要验证密码";
7275
static NSString *message = @"这是一个危险的操作,请提供登录密码确认!";
Collapse file

‎Coding_iOS/Controllers/RootControllers/Project_RootViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/RootControllers/Project_RootViewController.m
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ - (void)setIcarouselScrollEnabled:(BOOL)icarouselScrollEnabled{
9999
}
100100

101101
- (void)setupNavBtn{
102-
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSearch target:self action:@selector(searchItemClicked:)];
103-
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(gotoNewProject)];
102+
// self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSearch target:self action:@selector(searchItemClicked:)];
103+
// self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(gotoNewProject)];
104+
105+
[self.navigationItem setLeftBarButtonItem:[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"search_Nav"] style:UIBarButtonItemStylePlain target:self action:@selector(searchItemClicked:)] animated:NO];
106+
[self.navigationItem setRightBarButtonItem:[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"addBtn_Nav"] style:UIBarButtonItemStylePlain target:self action:@selector(gotoNewProject)] animated:NO];
104107

105108
}
106109

Expand file
-168 Bytes
  • Display the source diff
  • Display the rich diff
Expand file
-148 Bytes
  • Display the source diff
  • Display the rich diff
Expand file
-167 Bytes
  • Display the source diff
  • Display the rich diff
Expand file
-134 Bytes
  • Display the source diff
  • Display the rich diff
Expand file
-120 Bytes
  • Display the source diff
  • Display the rich diff

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.