Skip to content

Commit 553a4ac

Browse files
committed
UI微调
1 parent a4033c5 commit 553a4ac

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
4E42FFF41A10C43C00A9A0C8 /* addPictureBgImage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E42FFF31A10C43C00A9A0C8 /* addPictureBgImage@2x.png */; };
8484
4E4ABBEA1A653027004760D9 /* WebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E4ABBE91A653027004760D9 /* WebViewController.m */; };
8585
4E53EB521AFA03990034FE1C /* RKSwipeBetweenViewControllers.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E53EB511AFA03990034FE1C /* RKSwipeBetweenViewControllers.m */; };
86-
4E53EB551AFA24870034FE1C /* nav_page_selected@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E53EB531AFA24870034FE1C /* nav_page_selected@2x.png */; };
87-
4E53EB561AFA24870034FE1C /* nav_page_unselected@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E53EB541AFA24870034FE1C /* nav_page_unselected@2x.png */; };
86+
4E53EB591AFB090E0034FE1C /* nav_page_selected@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E53EB571AFB090E0034FE1C /* nav_page_selected@2x.png */; };
87+
4E53EB5A1AFB090E0034FE1C /* nav_page_unselected@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E53EB581AFB090E0034FE1C /* nav_page_unselected@2x.png */; };
8888
4E59E1D31A5E6B34004DAEEC /* TaskDescriptionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E59E1D21A5E6B34004DAEEC /* TaskDescriptionViewController.m */; };
8989
4E5C06E81AC2B34800F427C5 /* tipIcon_BranchMember@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E5C06E71AC2B34800F427C5 /* tipIcon_BranchMember@2x.png */; };
9090
4E5C06EB1AC4009100F427C5 /* CannotLoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E5C06EA1AC4009100F427C5 /* CannotLoginViewController.m */; };
@@ -742,8 +742,8 @@
742742
4E4ABBE91A653027004760D9 /* WebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewController.m; sourceTree = "<group>"; };
743743
4E53EB501AFA03990034FE1C /* RKSwipeBetweenViewControllers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RKSwipeBetweenViewControllers.h; sourceTree = "<group>"; };
744744
4E53EB511AFA03990034FE1C /* RKSwipeBetweenViewControllers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RKSwipeBetweenViewControllers.m; sourceTree = "<group>"; };
745-
4E53EB531AFA24870034FE1C /* nav_page_selected@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "nav_page_selected@2x.png"; sourceTree = "<group>"; };
746-
4E53EB541AFA24870034FE1C /* nav_page_unselected@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "nav_page_unselected@2x.png"; sourceTree = "<group>"; };
745+
4E53EB571AFB090E0034FE1C /* nav_page_selected@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "nav_page_selected@2x.png"; sourceTree = "<group>"; };
746+
4E53EB581AFB090E0034FE1C /* nav_page_unselected@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "nav_page_unselected@2x.png"; sourceTree = "<group>"; };
747747
4E59E1D11A5E6B34004DAEEC /* TaskDescriptionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TaskDescriptionViewController.h; sourceTree = "<group>"; };
748748
4E59E1D21A5E6B34004DAEEC /* TaskDescriptionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TaskDescriptionViewController.m; sourceTree = "<group>"; };
749749
4E5C06E71AC2B34800F427C5 /* tipIcon_BranchMember@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tipIcon_BranchMember@2x.png"; sourceTree = "<group>"; };
@@ -2652,8 +2652,8 @@
26522652
4E8C51AF1AC1081500B4C51F /* icon_recommended@2x.png */,
26532653
4EE548261AE9166B00A92306 /* icon_project_cell_nopin@2x.png */,
26542654
4EE548271AE9166B00A92306 /* icon_project_cell_pin@2x.png */,
2655-
4E53EB531AFA24870034FE1C /* nav_page_selected@2x.png */,
2656-
4E53EB541AFA24870034FE1C /* nav_page_unselected@2x.png */,
2655+
4E53EB571AFB090E0034FE1C /* nav_page_selected@2x.png */,
2656+
4E53EB581AFB090E0034FE1C /* nav_page_unselected@2x.png */,
26572657
);
26582658
path = Images;
26592659
sourceTree = "<group>";
@@ -3452,7 +3452,7 @@
34523452
4E217F1A1A71007800F6DF88 /* SVWebViewController.strings in Resources */,
34533453
8EA6D17719E240C40076D59C /* placeholder_monkey_round_33@2x.png in Resources */,
34543454
8E97CEB51A0C7E26006F9AD7 /* coding_emoji_30@2x.png in Resources */,
3455-
4E53EB551AFA24870034FE1C /* nav_page_selected@2x.png in Resources */,
3455+
4E53EB591AFB090E0034FE1C /* nav_page_selected@2x.png in Resources */,
34563456
8E97CEB31A0C7E26006F9AD7 /* coding_emoji_28@2x.png in Resources */,
34573457
8EA6D17A19E240C40076D59C /* placeholder_monkey_round_50@2x.png in Resources */,
34583458
4E996C051ABBF56A00C704F1 /* n_sex_man_icon@2x.png in Resources */,
@@ -3546,7 +3546,7 @@
35463546
4E76D4DC1A5A77DD0094A35E /* register_arrow@2x.png in Resources */,
35473547
8E97CE521A0A3410006F9AD7 /* addUserBtn_Nav@2x.png in Resources */,
35483548
8EC911291A027A54009EAE99 /* nav_project_code@2x.png in Resources */,
3549-
4E53EB561AFA24870034FE1C /* nav_page_unselected@2x.png in Resources */,
3549+
4E53EB5A1AFB090E0034FE1C /* nav_page_unselected@2x.png in Resources */,
35503550
);
35513551
runOnlyForDeploymentPostprocessing = 0;
35523552
};

Coding_iOS/Controllers/RootControllers/RootTabViewController.m

100755100644
File mode changed.
62 Bytes
Loading
59 Bytes
Loading

Coding_iOS/Vendor/RKSwipeBetweenViewControllers/RKSwipeBetweenViewControllers.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
//%%% customizeable button attributes
1515
CGFloat X_BUFFER = 52.0; //%%% the number of pixels on either side of the segment
16-
CGFloat HEIGHT = 40.0; //%%% height of the segment
16+
CGFloat HEIGHT = 35.0; //%%% height of the segment
1717
#define BUTTON_WIDTH ([UIScreen mainScreen].bounds.size.width/3)
1818

1919
//%%% customizeable selector bar attributes (the black bar under the buttons)
2020
CGFloat BOUNCE_BUFFER = 0.0; //%%% adds bounce to the selection bar when you scroll
2121
CGFloat ANIMATION_SPEED = 0.2; //%%% the number of seconds it takes to complete the animation
22-
CGFloat SELECTOR_Y_BUFFER = 34.0; //%%% the y-value of the bar that shows what page you are on (0 is the top)
22+
CGFloat SELECTOR_Y_BUFFER = 32.0; //%%% the y-value of the bar that shows what page you are on (0 is the top)
2323
CGFloat SELECTOR_HEIGHT = 7.0; //%%% thickness of the selector bar
2424

2525
CGFloat X_OFFSET = 8.0; //%%% for some reason there's a little bit of a glitchy offset. I'm going to look for a better workaround in the future

0 commit comments

Comments
 (0)