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

Sign up
Appearance settings

Commit b2afa62

Browse files
中秋祝福
1 parent 7d6931a commit b2afa62

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

‎Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@
234234
4E6B07121BA3D9B5007D6027 /* intro_page1_ip5@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E6B070E1BA3D9B5007D6027 /* intro_page1_ip5@2x.png */; };
235235
4E6B07131BA3D9B5007D6027 /* intro_page1_ip6@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E6B070F1BA3D9B5007D6027 /* intro_page1_ip6@2x.png */; };
236236
4E6B07141BA3D9B5007D6027 /* intro_page1_ip6+@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4E6B07101BA3D9B5007D6027 /* intro_page1_ip6+@3x.png */; };
237+
4E6B07161BA4045E007D6027 /* MIDAUTUMNIMAGE.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4E6B07151BA4045E007D6027 /* MIDAUTUMNIMAGE.jpg */; };
237238
4E6BA2D71A1EE6AF005FD721 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E6BA2AE1A1EE6AF005FD721 /* AFHTTPRequestOperation.m */; };
238239
4E6BA2D81A1EE6AF005FD721 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E6BA2B01A1EE6AF005FD721 /* AFHTTPRequestOperationManager.m */; };
239240
4E6BA2D91A1EE6AF005FD721 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E6BA2B21A1EE6AF005FD721 /* AFURLConnectionOperation.m */; };
@@ -1224,6 +1225,7 @@
12241225
4E6B070E1BA3D9B5007D6027 /* intro_page1_ip5@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "intro_page1_ip5@2x.png"; sourceTree = "<group>"; };
12251226
4E6B070F1BA3D9B5007D6027 /* intro_page1_ip6@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "intro_page1_ip6@2x.png"; sourceTree = "<group>"; };
12261227
4E6B07101BA3D9B5007D6027 /* intro_page1_ip6+@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "intro_page1_ip6+@3x.png"; sourceTree = "<group>"; };
1228+
4E6B07151BA4045E007D6027 /* MIDAUTUMNIMAGE.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = MIDAUTUMNIMAGE.jpg; sourceTree = "<group>"; };
12271229
4E6BA2AA1A1EE6AF005FD721 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworking.h; sourceTree = "<group>"; };
12281230
4E6BA2AD1A1EE6AF005FD721 /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPRequestOperation.h; sourceTree = "<group>"; };
12291231
4E6BA2AE1A1EE6AF005FD721 /* AFHTTPRequestOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPRequestOperation.m; sourceTree = "<group>"; };
@@ -3911,6 +3913,7 @@
39113913
4EFE8DAE1B3960E6004B7559 /* logo_coding_top@2x.png */,
39123914
4E76D4DD1A5A7B4A0094A35E /* text_clear_btn@2x.png */,
39133915
4E03AC991A5BDDF9002B000B /* STARTIMAGE.jpg */,
3916+
4E6B07151BA4045E007D6027 /* MIDAUTUMNIMAGE.jpg */,
39143917
4EA7F12B1A6D0C4D00A046BD /* icon_project_private@2x.png */,
39153918
4E38CF631A7B8DD4005536C0 /* icon_triangle@2x.png */,
39163919
4EBFBD171AA85B8500E4B10E /* add_user_icon@2x.png */,
@@ -4738,6 +4741,7 @@
47384741
4E96E7E21A1B537E0037C098 /* icon_file_psd@2x.png in Resources */,
47394742
8EA6D18019E240C40076D59C /* sex_man_icon@2x.png in Resources */,
47404743
4EC461B31B39360F00D08970 /* file_changeType_DELETE@2x.png in Resources */,
4744+
4E6B07161BA4045E007D6027 /* MIDAUTUMNIMAGE.jpg in Resources */,
47414745
8EA6D18B19E240C40076D59C /* tweet_normal@2x.png in Resources */,
47424746
8EA6D18719E240C40076D59C /* project_normal@2x.png in Resources */,
47434747
4EE083DC1ADB736800CA342E /* service_terms.html in Resources */,

‎Coding_iOS/Images/MIDAUTUMNIMAGE.jpg

205 KB
Loading[フレーム]

‎Coding_iOS/Util/Manager/FunctionIntroManager.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ + (void)showIntroPage{
4848
}
4949

5050
+ (BOOL)needToShowIntro{
51-
// return NO;//这个版本不需要
52-
5351
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
5452
NSString *preVersion = [defaults stringForKey:kIntroPageKey];
5553
BOOL needToShow = ![preVersion isEqualToString:kVersion_Coding];

‎Coding_iOS/Util/OC_Category/NSDate+Common.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ - (NSString *)stringDisplay_MMdd{
191191
}
192192

193193
+ (BOOL)isDuringMidAutumn{
194+
// return YES;
194195
BOOL isDuringMidAutumn;
195196
NSDate *curDate = [NSDate date];
196197
if (curDate.year != 2015 ||

‎Coding_iOS/Views/EaseStartView.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ - (instancetype)initWithBgImage:(UIImage *)bgImage logoIcon:(UIImage *)logoIcon
3434
_bgImageView.contentMode = UIViewContentModeScaleAspectFill;
3535
_bgImageView.alpha = 0.0;
3636
[self addSubview:_bgImageView];
37-
38-
[self addGradientLayerWithColors:@[(id)[blackColor colorWithAlphaComponent:0.4].CGColor, (id)[blackColor colorWithAlphaComponent:0.0].CGColor] locations:nil startPoint:CGPointMake(0.5, 0.0) endPoint:CGPointMake(0.5, 0.4)];
37+
if ([NSDate isDuringMidAutumn]) {
38+
[self addGradientLayerWithColors:@[(id)[blackColor colorWithAlphaComponent:0.4].CGColor, (id)[blackColor colorWithAlphaComponent:0.0].CGColor] locations:nil startPoint:CGPointMake(0.5, 0.0) endPoint:CGPointMake(0.5, 0.4)];
39+
}
3940

4041
_logoIconView = [[UIImageView alloc] init];
4142
_logoIconView.contentMode = UIViewContentModeScaleAspectFit;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /