Skip to content

Commit 99eb218

Browse files
committed
个人信息 & 商城 & bugfix
1 parent d39558c commit 99eb218

63 files changed

Lines changed: 1467 additions & 472 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,16 @@
12061206
B14689C31EE100B200B01371 /* vip_4_75@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B14689B31EE100B200B01371 /* vip_4_75@3x.png */; };
12071207
B19D4EE11F690F5E00C598F3 /* file_activity_icon_rename@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EDF1F690F5E00C598F3 /* file_activity_icon_rename@2x.png */; };
12081208
B19D4EE21F690F5E00C598F3 /* file_activity_icon_rename@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EE01F690F5E00C598F3 /* file_activity_icon_rename@3x.png */; };
1209+
B19D4EEA1F6FAA6000C598F3 /* AboutPointViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B19D4EE81F6FAA6000C598F3 /* AboutPointViewController.m */; };
1210+
B19D4EEB1F6FAA6000C598F3 /* AboutPointViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EE91F6FAA6000C598F3 /* AboutPointViewController.xib */; };
1211+
B19D4EEE1F6FCEAC00C598F3 /* CodingSkill.m in Sources */ = {isa = PBXBuildFile; fileRef = B19D4EED1F6FCEAC00C598F3 /* CodingSkill.m */; };
1212+
B19D4EF21F710EF900C598F3 /* ShopSwitchCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B19D4EF01F710EF900C598F3 /* ShopSwitchCell.m */; };
1213+
B19D4EF31F710EF900C598F3 /* ShopSwitchCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EF11F710EF900C598F3 /* ShopSwitchCell.xib */; };
1214+
B19D4EF61F7210C300C598F3 /* user_info_shop@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EF41F7210C300C598F3 /* user_info_shop@2x.png */; };
1215+
B19D4EF71F7210C300C598F3 /* user_info_shop@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EF51F7210C300C598F3 /* user_info_shop@3x.png */; };
1216+
B19D4EFB1F7247BA00C598F3 /* AlipaySDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = B19D4EF91F7247BA00C598F3 /* AlipaySDK.bundle */; };
1217+
B19D4EFC1F7247BA00C598F3 /* AlipaySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B19D4EFA1F7247BA00C598F3 /* AlipaySDK.framework */; };
1218+
B19D4EFE1F724CDC00C598F3 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B19D4EFD1F724CDC00C598F3 /* CoreMotion.framework */; };
12091219
B1C871131EADAEE1003DACF0 /* loading_monkey@2x.gif in Resources */ = {isa = PBXBuildFile; fileRef = B1C871121EADAEE1003DACF0 /* loading_monkey@2x.gif */; };
12101220
B1C871181EADF0B1003DACF0 /* messageAT@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B1C871141EADF0B1003DACF0 /* messageAT@3x.png */; };
12111221
B1C871191EADF0B1003DACF0 /* messageComment@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B1C871151EADF0B1003DACF0 /* messageComment@3x.png */; };
@@ -3168,6 +3178,20 @@
31683178
B14689B31EE100B200B01371 /* vip_4_75@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "vip_4_75@3x.png"; sourceTree = "<group>"; };
31693179
B19D4EDF1F690F5E00C598F3 /* file_activity_icon_rename@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "file_activity_icon_rename@2x.png"; sourceTree = "<group>"; };
31703180
B19D4EE01F690F5E00C598F3 /* file_activity_icon_rename@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "file_activity_icon_rename@3x.png"; sourceTree = "<group>"; };
3181+
B19D4EE71F6FAA6000C598F3 /* AboutPointViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AboutPointViewController.h; sourceTree = "<group>"; };
3182+
B19D4EE81F6FAA6000C598F3 /* AboutPointViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AboutPointViewController.m; sourceTree = "<group>"; };
3183+
B19D4EE91F6FAA6000C598F3 /* AboutPointViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AboutPointViewController.xib; sourceTree = "<group>"; };
3184+
B19D4EEC1F6FCEAC00C598F3 /* CodingSkill.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CodingSkill.h; sourceTree = "<group>"; };
3185+
B19D4EED1F6FCEAC00C598F3 /* CodingSkill.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CodingSkill.m; sourceTree = "<group>"; };
3186+
B19D4EEF1F710EF900C598F3 /* ShopSwitchCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShopSwitchCell.h; sourceTree = "<group>"; };
3187+
B19D4EF01F710EF900C598F3 /* ShopSwitchCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShopSwitchCell.m; sourceTree = "<group>"; };
3188+
B19D4EF11F710EF900C598F3 /* ShopSwitchCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ShopSwitchCell.xib; sourceTree = "<group>"; };
3189+
B19D4EF41F7210C300C598F3 /* user_info_shop@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "user_info_shop@2x.png"; sourceTree = "<group>"; };
3190+
B19D4EF51F7210C300C598F3 /* user_info_shop@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "user_info_shop@3x.png"; sourceTree = "<group>"; };
3191+
B19D4EF91F7247BA00C598F3 /* AlipaySDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = AlipaySDK.bundle; sourceTree = "<group>"; };
3192+
B19D4EFA1F7247BA00C598F3 /* AlipaySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AlipaySDK.framework; sourceTree = "<group>"; };
3193+
B19D4EFD1F724CDC00C598F3 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
3194+
B1B2BDAE1F78A59F00645EAD /* route.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = route.h; path = ../../../../../../Desktop/route.h; sourceTree = "<group>"; };
31713195
B1C871121EADAEE1003DACF0 /* loading_monkey@2x.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = "loading_monkey@2x.gif"; sourceTree = "<group>"; };
31723196
B1C871141EADF0B1003DACF0 /* messageAT@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "messageAT@3x.png"; sourceTree = "<group>"; };
31733197
B1C871151EADF0B1003DACF0 /* messageComment@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "messageComment@3x.png"; sourceTree = "<group>"; };
@@ -3372,6 +3396,7 @@
33723396
isa = PBXFrameworksBuildPhase;
33733397
buildActionMask = 2147483647;
33743398
files = (
3399+
B19D4EFE1F724CDC00C598F3 /* CoreMotion.framework in Frameworks */,
33753400
4EFF5A771E0AE54800683D03 /* libresolv.9.tbd in Frameworks */,
33763401
4EDBECEB1B709EB3003E87C3 /* AVFoundation.framework in Frameworks */,
33773402
0AB591AD1AB6D51C0076C454 /* MapKit.framework in Frameworks */,
@@ -3380,6 +3405,7 @@
33803405
4EDD8F5A1A36F4FA00E9E232 /* Security.framework in Frameworks */,
33813406
4EDD8F581A36F4CA00E9E232 /* CoreTelephony.framework in Frameworks */,
33823407
4EDD8F561A36F4BD00E9E232 /* SystemConfiguration.framework in Frameworks */,
3408+
B19D4EFC1F7247BA00C598F3 /* AlipaySDK.framework in Frameworks */,
33833409
4EDD8F541A36F4AC00E9E232 /* CFNetwork.framework in Frameworks */,
33843410
4E96E7C81A1B46740037C098 /* QuickLook.framework in Frameworks */,
33853411
8E03D4A419F696970092F8C8 /* libz.dylib in Frameworks */,
@@ -3811,6 +3837,7 @@
38113837
4E3068381E0B781A00AEE0CE /* LDSimplePing.h */,
38123838
4E3068391E0B781A00AEE0CE /* LDSimplePing.m */,
38133839
4E30683A1E0B781A00AEE0CE /* Route.h */,
3840+
B1B2BDAE1F78A59F00645EAD /* route.h */,
38143841
);
38153842
path = LDNetDiagnoService;
38163843
sourceTree = "<group>";
@@ -4376,6 +4403,8 @@
43764403
4E996BF91ABBF56A00C704F1 /* userInfo */ = {
43774404
isa = PBXGroup;
43784405
children = (
4406+
B19D4EF41F7210C300C598F3 /* user_info_shop@2x.png */,
4407+
B19D4EF51F7210C300C598F3 /* user_info_shop@3x.png */,
43794408
B1C871481EADF217003DACF0 /* user_info_company@2x.png */,
43804409
B1C871491EADF217003DACF0 /* user_info_company@3x.png */,
43814410
4E996BFA1ABBF56A00C704F1 /* n_btn_followed_both@2x.png */,
@@ -5005,6 +5034,7 @@
50055034
8E477012198770E700997D05 /* Frameworks */ = {
50065035
isa = PBXGroup;
50075036
children = (
5037+
B19D4EFD1F724CDC00C598F3 /* CoreMotion.framework */,
50085038
4EFF5A761E0AE54800683D03 /* libresolv.9.tbd */,
50095039
4EDBECEA1B709EB3003E87C3 /* AVFoundation.framework */,
50105040
4EF818231B09D8D8005F974B /* WebP.framework */,
@@ -5402,6 +5432,9 @@
54025432
4E24B2671B43D33F004D7989 /* ProjectToChooseListViewController.m */,
54035433
4E0022871B721516005308DE /* PointRecordsViewController.h */,
54045434
4E0022881B721516005308DE /* PointRecordsViewController.m */,
5435+
B19D4EE71F6FAA6000C598F3 /* AboutPointViewController.h */,
5436+
B19D4EE81F6FAA6000C598F3 /* AboutPointViewController.m */,
5437+
B19D4EE91F6FAA6000C598F3 /* AboutPointViewController.xib */,
54055438
4EAE06A91B7B23EA00179F4B /* FileActivitiesViewController.h */,
54065439
4EAE06AA1B7B23EA00179F4B /* FileActivitiesViewController.m */,
54075440
4EAE06AC1B7B241A00179F4B /* FileVersionsViewController.h */,
@@ -5907,6 +5940,8 @@
59075940
4E6CBE5B1D8FC7A500644086 /* ProjectServiceInfo.m */,
59085941
4ED4B4951D82939700EED8C6 /* Team.h */,
59095942
4ED4B4961D82939700EED8C6 /* Team.m */,
5943+
B19D4EEC1F6FCEAC00C598F3 /* CodingSkill.h */,
5944+
B19D4EED1F6FCEAC00C598F3 /* CodingSkill.m */,
59105945
);
59115946
path = Models;
59125947
sourceTree = "<group>";
@@ -5983,6 +6018,7 @@
59836018
8EA6D03E19E240C40076D59C /* Vendor */ = {
59846019
isa = PBXGroup;
59856020
children = (
6021+
B19D4EF81F7247BA00C598F3 /* AlipaySDK */,
59866022
D031F5D81BFAD6690008E964 /* FRDLivelyButton */,
59876023
4E5D12FB1C0C5EE600985AEB /* RRFPSBar */,
59886024
4EE956521B9C1C500009EDA9 /* UMSocial_Sdk_4.3.0_Extra */,
@@ -6399,6 +6435,9 @@
63996435
09A0589A1E0AAA7200C1CA3F /* ScreenCell.m */,
64006436
09A0589C1E0AAA8800C1CA3F /* TaskSelectionCell.h */,
64016437
09A0589D1E0AAA8800C1CA3F /* TaskSelectionCell.m */,
6438+
B19D4EEF1F710EF900C598F3 /* ShopSwitchCell.h */,
6439+
B19D4EF01F710EF900C598F3 /* ShopSwitchCell.m */,
6440+
B19D4EF11F710EF900C598F3 /* ShopSwitchCell.xib */,
64026441
);
64036442
path = Cell;
64046443
sourceTree = "<group>";
@@ -6456,6 +6495,15 @@
64566495
path = vip;
64576496
sourceTree = "<group>";
64586497
};
6498+
B19D4EF81F7247BA00C598F3 /* AlipaySDK */ = {
6499+
isa = PBXGroup;
6500+
children = (
6501+
B19D4EF91F7247BA00C598F3 /* AlipaySDK.bundle */,
6502+
B19D4EFA1F7247BA00C598F3 /* AlipaySDK.framework */,
6503+
);
6504+
path = AlipaySDK;
6505+
sourceTree = "<group>";
6506+
};
64596507
B94C1B661AC945C60000C271 /* NewProject */ = {
64606508
isa = PBXGroup;
64616509
children = (
@@ -6626,6 +6674,7 @@
66266674
8EA6D15019E240C40076D59C /* commentOrLikeBeginImg@2x.png in Resources */,
66276675
4EB52F5F1C7C5C4F00B5EBEA /* task_resource_reference_ProjectFile@3x.png in Resources */,
66286676
13FB5D481CA17A6400EE127C /* PR_mergeChanges@3x.png in Resources */,
6677+
B19D4EF61F7210C300C598F3 /* user_info_shop@2x.png in Resources */,
66296678
134E1B9B1CA41217002A3E0D /* ReviewCell.xib in Resources */,
66306679
8EA6D15E19E240C40076D59C /* login_suffix@2x.png in Resources */,
66316680
4EB52F101C74691B00B5EBEA /* password_look@3x.png in Resources */,
@@ -6875,6 +6924,7 @@
68756924
4ED4B4861D82646100EED8C6 /* user_info_about@3x.png in Resources */,
68766925
B1C871801EB18599003DACF0 /* calendar_0xA1CF64@3x.png in Resources */,
68776926
4ED4B4871D82646100EED8C6 /* user_info_file@2x.png in Resources */,
6927+
B19D4EF31F710EF900C598F3 /* ShopSwitchCell.xib in Resources */,
68786928
B1C871501EADF48B003DACF0 /* cell_arrow_left@2x.png in Resources */,
68796929
4E2F6A711C43CA4B00A25502 /* member_type_90@3x.png in Resources */,
68806930
4EF17ECB1B3C3112003CDD2D /* intro_dot_selected@2x.png in Resources */,
@@ -6981,6 +7031,7 @@
69817031
4EE548291AE9166B00A92306 /* icon_project_cell_pin@2x.png in Resources */,
69827032
D0C447C01C02DB5400DC1C4B /* pop_2FA@2x.png in Resources */,
69837033
4EBD0C661A1F2011004B4284 /* nav_project_file@2x.png in Resources */,
7034+
B19D4EF71F7210C300C598F3 /* user_info_shop@3x.png in Resources */,
69847035
D0C447C31C02DB5400DC1C4B /* pop_Task@2x.png in Resources */,
69857036
8EA6D17E19E240C40076D59C /* section_btn_close@2x.png in Resources */,
69867037
4EBD7FB11CE482A400B3AF49 /* country_code.plist in Resources */,
@@ -7148,6 +7199,7 @@
71487199
8E97CE611A0A3424006F9AD7 /* keyboard_add_photo@2x.png in Resources */,
71497200
4EAECBC61C44CB860096CA74 /* member_cell_edit_type@2x.png in Resources */,
71507201
4E93F23B1B84356500017916 /* file_menu_icon_edit@2x.png in Resources */,
7202+
B19D4EEB1F6FAA6000C598F3 /* AboutPointViewController.xib in Resources */,
71517203
8E1C3DF619E7F4CA00EF3032 /* address.json in Resources */,
71527204
4E80E9391E01218300DE1BC6 /* reward_tip_logo@3x.png in Resources */,
71537205
4E09DCAA1C15662E001C9392 /* share_Nav@3x.png in Resources */,
@@ -7265,6 +7317,7 @@
72657317
B9A00D7F1ACA3A05008BA008 /* ProjectSetting.storyboard in Resources */,
72667318
8EA6D19219E240C40076D59C /* timeline_icon_unread@2x.png in Resources */,
72677319
4E54C24B1D8FE19100A61023 /* user_info_edit@2x.png in Resources */,
7320+
B19D4EFB1F7247BA00C598F3 /* AlipaySDK.bundle in Resources */,
72687321
4E095A6D1B69F920008DC439 /* banner__page_selected@2x.png in Resources */,
72697322
4EB52F5D1C7C5C4F00B5EBEA /* task_resource_reference_MergeRequestBean@3x.png in Resources */,
72707323
4E86FEE51BB556D6005E53F3 /* tipIcon_ProjectFileComment@2x.png in Resources */,
@@ -7709,6 +7762,7 @@
77097762
8EF643D319FF7E2900F7EEB0 /* ValueListCell.m in Sources */,
77107763
4EB52F3F1C7C464400B5EBEA /* TaskResourceReferenceViewController.m in Sources */,
77117764
4E217F0C1A70EDC700F6DF88 /* SVModalWebViewController.m in Sources */,
7765+
B19D4EF21F710EF900C598F3 /* ShopSwitchCell.m in Sources */,
77127766
4E19E7071BCE03CD00C66DC6 /* UIActionSheet+Front.m in Sources */,
77137767
4EF17E5F1B3AB10F003CDD2D /* IntroductionViewController.m in Sources */,
77147768
4EA7F1601A6D192B00A046BD /* SDWebImagePrefetcher.m in Sources */,
@@ -7843,6 +7897,7 @@
78437897
4E6D718A1A75F00E005AD988 /* YLImageView.m in Sources */,
78447898
4E095A591B690494008DC439 /* CodingBanner.m in Sources */,
78457899
9233997B1C00C55600F29E04 /* ShopOrderModel.m in Sources */,
7900+
B19D4EEE1F6FCEAC00C598F3 /* CodingSkill.m in Sources */,
78467901
923399721C00A9EF00F29E04 /* DashesLineView.m in Sources */,
78477902
8EA6D1C119E240C40076D59C /* Tweets.m in Sources */,
78487903
4E8D5D5F1B45295D00B70936 /* OTPAuthURL.m in Sources */,
@@ -7977,6 +8032,7 @@
79778032
4E6CBE4B1D8E71DC00644086 /* TopicAnswerCell.m in Sources */,
79788033
4E969CD01AF0EB87005C0CCE /* NSTimer+Common.m in Sources */,
79798034
8EF643B019FF7E2900F7EEB0 /* CodingTipCell.m in Sources */,
8035+
B19D4EEA1F6FAA6000C598F3 /* AboutPointViewController.m in Sources */,
79808036
4E6FB0581B58DB0A00B0A17B /* ProjectTagsView.m in Sources */,
79818037
8EA6D1BA19E240C40076D59C /* Projects.m in Sources */,
79828038
4E996BDF1ABA7CE100C704F1 /* UserInfoDetailUserCell.m in Sources */,
@@ -8108,6 +8164,7 @@
81088164
"$(inherited)",
81098165
"$(PROJECT_DIR)",
81108166
"$(PROJECT_DIR)/Carthage/Build/iOS",
8167+
"$(PROJECT_DIR)/Coding_iOS/Vendor/AlipaySDK",
81118168
);
81128169
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
81138170
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -8120,7 +8177,7 @@
81208177
"$(SRCROOT)/Carthage/Build/iOS/ObjectiveGit.framework/Headers/",
81218178
);
81228179
INFOPLIST_FILE = "Coding_iOS/Coding_iOS-Info.plist";
8123-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
8180+
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
81248181
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
81258182
LIBRARY_SEARCH_PATHS = (
81268183
"$(inherited)",
@@ -8153,6 +8210,7 @@
81538210
"$(inherited)",
81548211
"$(PROJECT_DIR)",
81558212
"$(PROJECT_DIR)/Carthage/Build/iOS",
8213+
"$(PROJECT_DIR)/Coding_iOS/Vendor/AlipaySDK",
81568214
);
81578215
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
81588216
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -8165,7 +8223,7 @@
81658223
"$(SRCROOT)/Carthage/Build/iOS/ObjectiveGit.framework/Headers/",
81668224
);
81678225
INFOPLIST_FILE = "Coding_iOS/Coding_iOS-Info.plist";
8168-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
8226+
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
81698227
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
81708228
LIBRARY_SEARCH_PATHS = (
81718229
"$(inherited)",

Coding_iOS/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ - (void)setupTabViewController{
256256
- (void)customizeInterface {
257257
//设置Nav的背景色和title色
258258
UINavigationBar *navigationBarAppearance = [UINavigationBar appearance];
259-
[navigationBarAppearance setBackgroundImage:[UIImage imageWithColor:[NSObject baseURLStrIsProduction]? kColorNavBG: kColorBrandGreen] forBarMetrics:UIBarMetricsDefault];
259+
[navigationBarAppearance setBackgroundImage:[UIImage imageWithColor:[NSObject baseURLStrIsProduction]? kColorNavBG: kColorActionYellow] forBarMetrics:UIBarMetricsDefault];
260260
[navigationBarAppearance setTintColor:kColorBrandGreen];//返回按钮的箭头颜色
261261
NSDictionary *textAttributes = @{
262262
NSFontAttributeName: [UIFont systemFontOfSize:kNavTitleFontSize],

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.4.5</string>
20+
<string>4.5</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>4.4.5.201706021500</string>
39+
<string>4.5.201706021500</string>
4040
<key>ITSAppUsesNonExemptEncryption</key>
4141
<false/>
4242
<key>LSApplicationQueriesSchemes</key>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// AboutPointViewController.h
3+
// Coding_iOS
4+
//
5+
// Created by Easeeeeeeeee on 2017/9/18.
6+
// Copyright © 2017年 Coding. All rights reserved.
7+
//
8+
9+
#import "BaseViewController.h"
10+
11+
@interface AboutPointViewController : BaseViewController
12+
13+
@end
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// AboutPointViewController.m
3+
// Coding_iOS
4+
//
5+
// Created by Easeeeeeeeee on 2017/9/18.
6+
// Copyright © 2017年 Coding. All rights reserved.
7+
//
8+
9+
#import "AboutPointViewController.h"
10+
11+
@interface AboutPointViewController ()
12+
@property (weak, nonatomic) IBOutlet UILabel *aboutL;
13+
14+
@end
15+
16+
@implementation AboutPointViewController
17+
18+
- (void)viewDidLoad {
19+
[super viewDidLoad];
20+
// Do any additional setup after loading the view from its nib.
21+
self.title = @"关于码币";
22+
23+
NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:_aboutL.text];
24+
//段落
25+
NSMutableParagraphStyle *paragraphStyle = [NSMutableParagraphStyle new];
26+
[paragraphStyle setLineSpacing:5.0];
27+
// [paragraphStyle setParagraphSpacing:10];
28+
[paragraphStyle setLineBreakMode:_aboutL.lineBreakMode];
29+
[paragraphStyle setAlignment:_aboutL.textAlignment];
30+
[attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [_aboutL.text length])];
31+
//标题
32+
NSArray *titleList = @[@"什么是码币", @"可以用码币做什么", @"如何获取码币"];
33+
for (NSString *title in titleList) {
34+
NSRange textR = [_aboutL.text rangeOfString:title];
35+
if (textR.location != NSNotFound) {
36+
[attributedString addAttributes:@{NSFontAttributeName: [UIFont systemFontOfSize:15 weight:UIFontWeightMedium],
37+
NSForegroundColorAttributeName: kColorDark3} range:textR];
38+
}
39+
}
40+
_aboutL.attributedText = attributedString;
41+
}
42+
43+
@end

0 commit comments

Comments
 (0)