Commit a66c319d5da061b54e058356ad0d2dd83b8a0efb
1 parent
4f5ea590
no message
Showing
11 changed files
with
352 additions
and
163 deletions
CNLiveUserSystemDemo/CNLiveUserSystemDemo.xcodeproj/project.pbxproj
| @@ -8,7 +8,6 @@ | @@ -8,7 +8,6 @@ | ||
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | 8107CD3C1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8107CD3B1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m */; }; | 10 | 8107CD3C1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8107CD3B1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m */; }; |
| 11 | - 8107CD3F1DDEFBB50061EA8A /* ThirdPartyView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8107CD3E1DDEFBB50061EA8A /* ThirdPartyView.m */; }; | ||
| 12 | 810D9B651D8FB70600B7A776 /* TencentOpenAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B511D8FB70600B7A776 /* TencentOpenAPI.framework */; }; | 11 | 810D9B651D8FB70600B7A776 /* TencentOpenAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B511D8FB70600B7A776 /* TencentOpenAPI.framework */; }; |
| 13 | 810D9B661D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 810D9B521D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle */; }; | 12 | 810D9B661D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 810D9B521D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle */; }; |
| 14 | 810D9B671D8FB70600B7A776 /* libWeiboSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B541D8FB70600B7A776 /* libWeiboSDK.a */; }; | 13 | 810D9B671D8FB70600B7A776 /* libWeiboSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B541D8FB70600B7A776 /* libWeiboSDK.a */; }; |
| @@ -25,6 +24,17 @@ | @@ -25,6 +24,17 @@ | ||
| 25 | 810D9B7A1D8FB7AC00B7A776 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B791D8FB7AC00B7A776 /* libz.tbd */; }; | 24 | 810D9B7A1D8FB7AC00B7A776 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B791D8FB7AC00B7A776 /* libz.tbd */; }; |
| 26 | 810D9B7F1D8FCD1900B7A776 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B7E1D8FCD1900B7A776 /* libsqlite3.0.tbd */; }; | 25 | 810D9B7F1D8FCD1900B7A776 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B7E1D8FCD1900B7A776 /* libsqlite3.0.tbd */; }; |
| 27 | 810D9B811D8FCD3200B7A776 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B801D8FCD3200B7A776 /* libc++.tbd */; }; | 26 | 810D9B811D8FCD3200B7A776 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 810D9B801D8FCD3200B7A776 /* libc++.tbd */; }; |
| 27 | + 810EB6381E543E8A00C33D18 /* touxiang.png in Resources */ = {isa = PBXBuildFile; fileRef = 810EB6371E543E8A00C33D18 /* touxiang.png */; }; | ||
| 28 | + 810EB6441E543EE900C33D18 /* LoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB63B1E543EE900C33D18 /* LoginViewController.m */; }; | ||
| 29 | + 810EB6451E543EE900C33D18 /* ModifyUserInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB63D1E543EE900C33D18 /* ModifyUserInfoViewController.m */; }; | ||
| 30 | + 810EB6461E543EE900C33D18 /* RegisterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB63F1E543EE900C33D18 /* RegisterViewController.m */; }; | ||
| 31 | + 810EB6471E543EE900C33D18 /* UserInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB6411E543EE900C33D18 /* UserInfoViewController.m */; }; | ||
| 32 | + 810EB6481E543EE900C33D18 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB6431E543EE900C33D18 /* ViewController.m */; }; | ||
| 33 | + 810EB6541E543EFC00C33D18 /* IdAndPwdView.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB64B1E543EFC00C33D18 /* IdAndPwdView.m */; }; | ||
| 34 | + 810EB6551E543EFC00C33D18 /* RegistBasicInformationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB64D1E543EFC00C33D18 /* RegistBasicInformationView.m */; }; | ||
| 35 | + 810EB6561E543EFC00C33D18 /* ThirdPartyView.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB64F1E543EFC00C33D18 /* ThirdPartyView.m */; }; | ||
| 36 | + 810EB6571E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB6511E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.m */; }; | ||
| 37 | + 810EB6581E543EFC00C33D18 /* UserInfoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 810EB6531E543EFC00C33D18 /* UserInfoTableViewCell.m */; }; | ||
| 28 | 8112249F1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */; }; | 38 | 8112249F1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */; }; |
| 29 | 811600EE1D927E7E003CAE7D /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600CD1D927E7E003CAE7D /* MKAnnotationView+WebCache.m */; }; | 39 | 811600EE1D927E7E003CAE7D /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600CD1D927E7E003CAE7D /* MKAnnotationView+WebCache.m */; }; |
| 30 | 811600EF1D927E7E003CAE7D /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600CF1D927E7E003CAE7D /* NSData+ImageContentType.m */; }; | 40 | 811600EF1D927E7E003CAE7D /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600CF1D927E7E003CAE7D /* NSData+ImageContentType.m */; }; |
| @@ -43,8 +53,6 @@ | @@ -43,8 +53,6 @@ | ||
| 43 | 811600FC1D927E7E003CAE7D /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600EA1D927E7E003CAE7D /* UIImageView+WebCache.m */; }; | 53 | 811600FC1D927E7E003CAE7D /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600EA1D927E7E003CAE7D /* UIImageView+WebCache.m */; }; |
| 44 | 811600FD1D927E7E003CAE7D /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600EC1D927E7E003CAE7D /* UIView+WebCacheOperation.m */; }; | 54 | 811600FD1D927E7E003CAE7D /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 811600EC1D927E7E003CAE7D /* UIView+WebCacheOperation.m */; }; |
| 45 | 811600FE1D927E7E003CAE7D /* WebP.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 811600ED1D927E7E003CAE7D /* WebP.framework */; }; | 55 | 811600FE1D927E7E003CAE7D /* WebP.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 811600ED1D927E7E003CAE7D /* WebP.framework */; }; |
| 46 | - 8116F8E41D8916250084FE49 /* IdAndPwdView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8116F8E31D8916250084FE49 /* IdAndPwdView.m */; }; | ||
| 47 | - 8116F8F11D891BCD0084FE49 /* RegistBasicInformationView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8116F8F01D891BCD0084FE49 /* RegistBasicInformationView.m */; }; | ||
| 48 | 812642C61D86A7A800B402CA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 812642C51D86A7A800B402CA /* main.m */; }; | 56 | 812642C61D86A7A800B402CA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 812642C51D86A7A800B402CA /* main.m */; }; |
| 49 | 812642C91D86A7A800B402CA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 812642C81D86A7A800B402CA /* AppDelegate.m */; }; | 57 | 812642C91D86A7A800B402CA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 812642C81D86A7A800B402CA /* AppDelegate.m */; }; |
| 50 | 812642CF1D86A7A800B402CA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 812642CD1D86A7A800B402CA /* Main.storyboard */; }; | 58 | 812642CF1D86A7A800B402CA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 812642CD1D86A7A800B402CA /* Main.storyboard */; }; |
| @@ -64,13 +72,6 @@ | @@ -64,13 +72,6 @@ | ||
| 64 | 8187A90E1D8E9A7B007FAFB6 /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 8187A9081D8E9A7B007FAFB6 /* SVProgressHUD.m */; }; | 72 | 8187A90E1D8E9A7B007FAFB6 /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 8187A9081D8E9A7B007FAFB6 /* SVProgressHUD.m */; }; |
| 65 | 8187A90F1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8187A90A1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m */; }; | 73 | 8187A90F1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8187A90A1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m */; }; |
| 66 | 81DE0A7E1DE5838B003604FE /* cancel.png in Resources */ = {isa = PBXBuildFile; fileRef = 81DE0A7D1DE5838B003604FE /* cancel.png */; }; | 74 | 81DE0A7E1DE5838B003604FE /* cancel.png in Resources */ = {isa = PBXBuildFile; fileRef = 81DE0A7D1DE5838B003604FE /* cancel.png */; }; |
| 67 | - 81F23C861DDDA17D004D0298 /* LoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81F23C7D1DDDA17D004D0298 /* LoginViewController.m */; }; | ||
| 68 | - 81F23C871DDDA17D004D0298 /* ModifyUserInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81F23C7F1DDDA17D004D0298 /* ModifyUserInfoViewController.m */; }; | ||
| 69 | - 81F23C881DDDA17D004D0298 /* RegisterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81F23C811DDDA17D004D0298 /* RegisterViewController.m */; }; | ||
| 70 | - 81F23C891DDDA17D004D0298 /* UserInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81F23C831DDDA17D004D0298 /* UserInfoViewController.m */; }; | ||
| 71 | - 81F23C8A1DDDA17D004D0298 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 81F23C851DDDA17D004D0298 /* ViewController.m */; }; | ||
| 72 | - B6B54BEA1D8D009800089C9C /* UserInfoHeaderImageTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B6B54BE91D8D009800089C9C /* UserInfoHeaderImageTableViewCell.m */; }; | ||
| 73 | - B6B54BED1D8D011000089C9C /* UserInfoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B6B54BEC1D8D011000089C9C /* UserInfoTableViewCell.m */; }; | ||
| 74 | /* End PBXBuildFile section */ | 75 | /* End PBXBuildFile section */ |
| 75 | 76 | ||
| 76 | /* Begin PBXContainerItemProxy section */ | 77 | /* Begin PBXContainerItemProxy section */ |
| @@ -106,8 +107,6 @@ | @@ -106,8 +107,6 @@ | ||
| 106 | /* Begin PBXFileReference section */ | 107 | /* Begin PBXFileReference section */ |
| 107 | 8107CD3A1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNLiveThirdLoginManager.h; sourceTree = "<group>"; }; | 108 | 8107CD3A1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNLiveThirdLoginManager.h; sourceTree = "<group>"; }; |
| 108 | 8107CD3B1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CNLiveThirdLoginManager.m; sourceTree = "<group>"; }; | 109 | 8107CD3B1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CNLiveThirdLoginManager.m; sourceTree = "<group>"; }; |
| 109 | - 8107CD3D1DDEFBB50061EA8A /* ThirdPartyView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdPartyView.h; sourceTree = "<group>"; }; | ||
| 110 | - 8107CD3E1DDEFBB50061EA8A /* ThirdPartyView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdPartyView.m; sourceTree = "<group>"; }; | ||
| 111 | 810D9B511D8FB70600B7A776 /* TencentOpenAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TencentOpenAPI.framework; sourceTree = "<group>"; }; | 110 | 810D9B511D8FB70600B7A776 /* TencentOpenAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TencentOpenAPI.framework; sourceTree = "<group>"; }; |
| 112 | 810D9B521D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = TencentOpenApi_IOS_Bundle.bundle; sourceTree = "<group>"; }; | 111 | 810D9B521D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = TencentOpenApi_IOS_Bundle.bundle; sourceTree = "<group>"; }; |
| 113 | 810D9B541D8FB70600B7A776 /* libWeiboSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeiboSDK.a; sourceTree = "<group>"; }; | 112 | 810D9B541D8FB70600B7A776 /* libWeiboSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeiboSDK.a; sourceTree = "<group>"; }; |
| @@ -136,6 +135,27 @@ | @@ -136,6 +135,27 @@ | ||
| 136 | 810D9B791D8FB7AC00B7A776 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; | 135 | 810D9B791D8FB7AC00B7A776 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; |
| 137 | 810D9B7E1D8FCD1900B7A776 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; }; | 136 | 810D9B7E1D8FCD1900B7A776 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; }; |
| 138 | 810D9B801D8FCD3200B7A776 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; | 137 | 810D9B801D8FCD3200B7A776 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; |
| 138 | + 810EB6371E543E8A00C33D18 /* touxiang.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = touxiang.png; sourceTree = "<group>"; }; | ||
| 139 | + 810EB63A1E543EE900C33D18 /* LoginViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginViewController.h; sourceTree = "<group>"; }; | ||
| 140 | + 810EB63B1E543EE900C33D18 /* LoginViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginViewController.m; sourceTree = "<group>"; }; | ||
| 141 | + 810EB63C1E543EE900C33D18 /* ModifyUserInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ModifyUserInfoViewController.h; sourceTree = "<group>"; }; | ||
| 142 | + 810EB63D1E543EE900C33D18 /* ModifyUserInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ModifyUserInfoViewController.m; sourceTree = "<group>"; }; | ||
| 143 | + 810EB63E1E543EE900C33D18 /* RegisterViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterViewController.h; sourceTree = "<group>"; }; | ||
| 144 | + 810EB63F1E543EE900C33D18 /* RegisterViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegisterViewController.m; sourceTree = "<group>"; }; | ||
| 145 | + 810EB6401E543EE900C33D18 /* UserInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoViewController.h; sourceTree = "<group>"; }; | ||
| 146 | + 810EB6411E543EE900C33D18 /* UserInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoViewController.m; sourceTree = "<group>"; }; | ||
| 147 | + 810EB6421E543EE900C33D18 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | ||
| 148 | + 810EB6431E543EE900C33D18 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | ||
| 149 | + 810EB64A1E543EFC00C33D18 /* IdAndPwdView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IdAndPwdView.h; sourceTree = "<group>"; }; | ||
| 150 | + 810EB64B1E543EFC00C33D18 /* IdAndPwdView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IdAndPwdView.m; sourceTree = "<group>"; }; | ||
| 151 | + 810EB64C1E543EFC00C33D18 /* RegistBasicInformationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegistBasicInformationView.h; sourceTree = "<group>"; }; | ||
| 152 | + 810EB64D1E543EFC00C33D18 /* RegistBasicInformationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegistBasicInformationView.m; sourceTree = "<group>"; }; | ||
| 153 | + 810EB64E1E543EFC00C33D18 /* ThirdPartyView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdPartyView.h; sourceTree = "<group>"; }; | ||
| 154 | + 810EB64F1E543EFC00C33D18 /* ThirdPartyView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdPartyView.m; sourceTree = "<group>"; }; | ||
| 155 | + 810EB6501E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoHeaderImageTableViewCell.h; sourceTree = "<group>"; }; | ||
| 156 | + 810EB6511E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoHeaderImageTableViewCell.m; sourceTree = "<group>"; }; | ||
| 157 | + 810EB6521E543EFC00C33D18 /* UserInfoTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoTableViewCell.h; sourceTree = "<group>"; }; | ||
| 158 | + 810EB6531E543EFC00C33D18 /* UserInfoTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoTableViewCell.m; sourceTree = "<group>"; }; | ||
| 139 | 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveUserSystemSDK.framework; sourceTree = "<group>"; }; | 159 | 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLiveUserSystemSDK.framework; sourceTree = "<group>"; }; |
| 140 | 811600CC1D927E7E003CAE7D /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+WebCache.h"; sourceTree = "<group>"; }; | 160 | 811600CC1D927E7E003CAE7D /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+WebCache.h"; sourceTree = "<group>"; }; |
| 141 | 811600CD1D927E7E003CAE7D /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+WebCache.m"; sourceTree = "<group>"; }; | 161 | 811600CD1D927E7E003CAE7D /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+WebCache.m"; sourceTree = "<group>"; }; |
| @@ -172,10 +192,6 @@ | @@ -172,10 +192,6 @@ | ||
| 172 | 811600EC1D927E7E003CAE7D /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; }; | 192 | 811600EC1D927E7E003CAE7D /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; }; |
| 173 | 811600ED1D927E7E003CAE7D /* WebP.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebP.framework; sourceTree = "<group>"; }; | 193 | 811600ED1D927E7E003CAE7D /* WebP.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebP.framework; sourceTree = "<group>"; }; |
| 174 | 8116F8DA1D88F3010084FE49 /* PrefixHeader.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; }; | 194 | 8116F8DA1D88F3010084FE49 /* PrefixHeader.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = "<group>"; }; |
| 175 | - 8116F8E21D8916250084FE49 /* IdAndPwdView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IdAndPwdView.h; sourceTree = "<group>"; }; | ||
| 176 | - 8116F8E31D8916250084FE49 /* IdAndPwdView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IdAndPwdView.m; sourceTree = "<group>"; }; | ||
| 177 | - 8116F8EF1D891BCD0084FE49 /* RegistBasicInformationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegistBasicInformationView.h; sourceTree = "<group>"; }; | ||
| 178 | - 8116F8F01D891BCD0084FE49 /* RegistBasicInformationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegistBasicInformationView.m; sourceTree = "<group>"; }; | ||
| 179 | 812642C11D86A7A800B402CA /* CNLiveUserSystemDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveUserSystemDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 195 | 812642C11D86A7A800B402CA /* CNLiveUserSystemDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveUserSystemDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 180 | 812642C51D86A7A800B402CA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | 196 | 812642C51D86A7A800B402CA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; |
| 181 | 812642C71D86A7A800B402CA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | 197 | 812642C71D86A7A800B402CA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; |
| @@ -212,20 +228,6 @@ | @@ -212,20 +228,6 @@ | ||
| 212 | 8187A9091D8E9A7B007FAFB6 /* SVRadialGradientLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVRadialGradientLayer.h; sourceTree = "<group>"; }; | 228 | 8187A9091D8E9A7B007FAFB6 /* SVRadialGradientLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVRadialGradientLayer.h; sourceTree = "<group>"; }; |
| 213 | 8187A90A1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVRadialGradientLayer.m; sourceTree = "<group>"; }; | 229 | 8187A90A1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVRadialGradientLayer.m; sourceTree = "<group>"; }; |
| 214 | 81DE0A7D1DE5838B003604FE /* cancel.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = cancel.png; sourceTree = "<group>"; }; | 230 | 81DE0A7D1DE5838B003604FE /* cancel.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = cancel.png; sourceTree = "<group>"; }; |
| 215 | - 81F23C7C1DDDA17D004D0298 /* LoginViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginViewController.h; sourceTree = "<group>"; }; | ||
| 216 | - 81F23C7D1DDDA17D004D0298 /* LoginViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginViewController.m; sourceTree = "<group>"; }; | ||
| 217 | - 81F23C7E1DDDA17D004D0298 /* ModifyUserInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ModifyUserInfoViewController.h; sourceTree = "<group>"; }; | ||
| 218 | - 81F23C7F1DDDA17D004D0298 /* ModifyUserInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ModifyUserInfoViewController.m; sourceTree = "<group>"; }; | ||
| 219 | - 81F23C801DDDA17D004D0298 /* RegisterViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterViewController.h; sourceTree = "<group>"; }; | ||
| 220 | - 81F23C811DDDA17D004D0298 /* RegisterViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegisterViewController.m; sourceTree = "<group>"; }; | ||
| 221 | - 81F23C821DDDA17D004D0298 /* UserInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoViewController.h; sourceTree = "<group>"; }; | ||
| 222 | - 81F23C831DDDA17D004D0298 /* UserInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoViewController.m; sourceTree = "<group>"; }; | ||
| 223 | - 81F23C841DDDA17D004D0298 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | ||
| 224 | - 81F23C851DDDA17D004D0298 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | ||
| 225 | - B6B54BE81D8D009800089C9C /* UserInfoHeaderImageTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoHeaderImageTableViewCell.h; sourceTree = "<group>"; }; | ||
| 226 | - B6B54BE91D8D009800089C9C /* UserInfoHeaderImageTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoHeaderImageTableViewCell.m; sourceTree = "<group>"; }; | ||
| 227 | - B6B54BEB1D8D011000089C9C /* UserInfoTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserInfoTableViewCell.h; sourceTree = "<group>"; }; | ||
| 228 | - B6B54BEC1D8D011000089C9C /* UserInfoTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserInfoTableViewCell.m; sourceTree = "<group>"; }; | ||
| 229 | /* End PBXFileReference section */ | 231 | /* End PBXFileReference section */ |
| 230 | 232 | ||
| 231 | /* Begin PBXFrameworksBuildPhase section */ | 233 | /* Begin PBXFrameworksBuildPhase section */ |
| @@ -329,6 +331,40 @@ | @@ -329,6 +331,40 @@ | ||
| 329 | name = frameworks; | 331 | name = frameworks; |
| 330 | sourceTree = "<group>"; | 332 | sourceTree = "<group>"; |
| 331 | }; | 333 | }; |
| 334 | + 810EB6391E543EE900C33D18 /* Conreollers */ = { | ||
| 335 | + isa = PBXGroup; | ||
| 336 | + children = ( | ||
| 337 | + 810EB63A1E543EE900C33D18 /* LoginViewController.h */, | ||
| 338 | + 810EB63B1E543EE900C33D18 /* LoginViewController.m */, | ||
| 339 | + 810EB63C1E543EE900C33D18 /* ModifyUserInfoViewController.h */, | ||
| 340 | + 810EB63D1E543EE900C33D18 /* ModifyUserInfoViewController.m */, | ||
| 341 | + 810EB63E1E543EE900C33D18 /* RegisterViewController.h */, | ||
| 342 | + 810EB63F1E543EE900C33D18 /* RegisterViewController.m */, | ||
| 343 | + 810EB6401E543EE900C33D18 /* UserInfoViewController.h */, | ||
| 344 | + 810EB6411E543EE900C33D18 /* UserInfoViewController.m */, | ||
| 345 | + 810EB6421E543EE900C33D18 /* ViewController.h */, | ||
| 346 | + 810EB6431E543EE900C33D18 /* ViewController.m */, | ||
| 347 | + ); | ||
| 348 | + path = Conreollers; | ||
| 349 | + sourceTree = "<group>"; | ||
| 350 | + }; | ||
| 351 | + 810EB6491E543EFC00C33D18 /* Views */ = { | ||
| 352 | + isa = PBXGroup; | ||
| 353 | + children = ( | ||
| 354 | + 810EB64A1E543EFC00C33D18 /* IdAndPwdView.h */, | ||
| 355 | + 810EB64B1E543EFC00C33D18 /* IdAndPwdView.m */, | ||
| 356 | + 810EB64C1E543EFC00C33D18 /* RegistBasicInformationView.h */, | ||
| 357 | + 810EB64D1E543EFC00C33D18 /* RegistBasicInformationView.m */, | ||
| 358 | + 810EB64E1E543EFC00C33D18 /* ThirdPartyView.h */, | ||
| 359 | + 810EB64F1E543EFC00C33D18 /* ThirdPartyView.m */, | ||
| 360 | + 810EB6501E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.h */, | ||
| 361 | + 810EB6511E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.m */, | ||
| 362 | + 810EB6521E543EFC00C33D18 /* UserInfoTableViewCell.h */, | ||
| 363 | + 810EB6531E543EFC00C33D18 /* UserInfoTableViewCell.m */, | ||
| 364 | + ); | ||
| 365 | + path = Views; | ||
| 366 | + sourceTree = "<group>"; | ||
| 367 | + }; | ||
| 332 | 811600CB1D927E7E003CAE7D /* SDWebImage */ = { | 368 | 811600CB1D927E7E003CAE7D /* SDWebImage */ = { |
| 333 | isa = PBXGroup; | 369 | isa = PBXGroup; |
| 334 | children = ( | 370 | children = ( |
| @@ -370,26 +406,10 @@ | @@ -370,26 +406,10 @@ | ||
| 370 | path = SDWebImage; | 406 | path = SDWebImage; |
| 371 | sourceTree = "<group>"; | 407 | sourceTree = "<group>"; |
| 372 | }; | 408 | }; |
| 373 | - 8116F8E11D8916250084FE49 /* Views */ = { | ||
| 374 | - isa = PBXGroup; | ||
| 375 | - children = ( | ||
| 376 | - 8116F8E21D8916250084FE49 /* IdAndPwdView.h */, | ||
| 377 | - 8116F8E31D8916250084FE49 /* IdAndPwdView.m */, | ||
| 378 | - 8107CD3D1DDEFBB50061EA8A /* ThirdPartyView.h */, | ||
| 379 | - 8107CD3E1DDEFBB50061EA8A /* ThirdPartyView.m */, | ||
| 380 | - 8116F8EF1D891BCD0084FE49 /* RegistBasicInformationView.h */, | ||
| 381 | - 8116F8F01D891BCD0084FE49 /* RegistBasicInformationView.m */, | ||
| 382 | - B6B54BE81D8D009800089C9C /* UserInfoHeaderImageTableViewCell.h */, | ||
| 383 | - B6B54BE91D8D009800089C9C /* UserInfoHeaderImageTableViewCell.m */, | ||
| 384 | - B6B54BEB1D8D011000089C9C /* UserInfoTableViewCell.h */, | ||
| 385 | - B6B54BEC1D8D011000089C9C /* UserInfoTableViewCell.m */, | ||
| 386 | - ); | ||
| 387 | - path = Views; | ||
| 388 | - sourceTree = "<group>"; | ||
| 389 | - }; | ||
| 390 | 812642B81D86A7A800B402CA = { | 409 | 812642B81D86A7A800B402CA = { |
| 391 | isa = PBXGroup; | 410 | isa = PBXGroup; |
| 392 | children = ( | 411 | children = ( |
| 412 | + 810EB6371E543E8A00C33D18 /* touxiang.png */, | ||
| 393 | 81DE0A7D1DE5838B003604FE /* cancel.png */, | 413 | 81DE0A7D1DE5838B003604FE /* cancel.png */, |
| 394 | 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */, | 414 | 8112249E1DFE7CAD00F7BD52 /* CNLiveUserSystemSDK.framework */, |
| 395 | 810D9B7D1D8FCBC200B7A776 /* frameworks */, | 415 | 810D9B7D1D8FCBC200B7A776 /* frameworks */, |
| @@ -417,8 +437,8 @@ | @@ -417,8 +437,8 @@ | ||
| 417 | 812642C81D86A7A800B402CA /* AppDelegate.m */, | 437 | 812642C81D86A7A800B402CA /* AppDelegate.m */, |
| 418 | 8187A8FF1D8E9A7B007FAFB6 /* ThirdSDK */, | 438 | 8187A8FF1D8E9A7B007FAFB6 /* ThirdSDK */, |
| 419 | 8187A8EC1D8E6385007FAFB6 /* Tools */, | 439 | 8187A8EC1D8E6385007FAFB6 /* Tools */, |
| 420 | - 81F23C7B1DDDA17D004D0298 /* Conreollers */, | ||
| 421 | - 8116F8E11D8916250084FE49 /* Views */, | 440 | + 810EB6391E543EE900C33D18 /* Conreollers */, |
| 441 | + 810EB6491E543EFC00C33D18 /* Views */, | ||
| 422 | 812642CD1D86A7A800B402CA /* Main.storyboard */, | 442 | 812642CD1D86A7A800B402CA /* Main.storyboard */, |
| 423 | 812642D01D86A7A800B402CA /* Assets.xcassets */, | 443 | 812642D01D86A7A800B402CA /* Assets.xcassets */, |
| 424 | 812642D21D86A7A800B402CA /* LaunchScreen.storyboard */, | 444 | 812642D21D86A7A800B402CA /* LaunchScreen.storyboard */, |
| @@ -503,23 +523,6 @@ | @@ -503,23 +523,6 @@ | ||
| 503 | path = SVProgressHUD; | 523 | path = SVProgressHUD; |
| 504 | sourceTree = "<group>"; | 524 | sourceTree = "<group>"; |
| 505 | }; | 525 | }; |
| 506 | - 81F23C7B1DDDA17D004D0298 /* Conreollers */ = { | ||
| 507 | - isa = PBXGroup; | ||
| 508 | - children = ( | ||
| 509 | - 81F23C841DDDA17D004D0298 /* ViewController.h */, | ||
| 510 | - 81F23C851DDDA17D004D0298 /* ViewController.m */, | ||
| 511 | - 81F23C7C1DDDA17D004D0298 /* LoginViewController.h */, | ||
| 512 | - 81F23C7D1DDDA17D004D0298 /* LoginViewController.m */, | ||
| 513 | - 81F23C7E1DDDA17D004D0298 /* ModifyUserInfoViewController.h */, | ||
| 514 | - 81F23C7F1DDDA17D004D0298 /* ModifyUserInfoViewController.m */, | ||
| 515 | - 81F23C801DDDA17D004D0298 /* RegisterViewController.h */, | ||
| 516 | - 81F23C811DDDA17D004D0298 /* RegisterViewController.m */, | ||
| 517 | - 81F23C821DDDA17D004D0298 /* UserInfoViewController.h */, | ||
| 518 | - 81F23C831DDDA17D004D0298 /* UserInfoViewController.m */, | ||
| 519 | - ); | ||
| 520 | - path = Conreollers; | ||
| 521 | - sourceTree = "<group>"; | ||
| 522 | - }; | ||
| 523 | /* End PBXGroup section */ | 526 | /* End PBXGroup section */ |
| 524 | 527 | ||
| 525 | /* Begin PBXNativeTarget section */ | 528 | /* Begin PBXNativeTarget section */ |
| @@ -632,6 +635,7 @@ | @@ -632,6 +635,7 @@ | ||
| 632 | 812642D11D86A7A800B402CA /* Assets.xcassets in Resources */, | 635 | 812642D11D86A7A800B402CA /* Assets.xcassets in Resources */, |
| 633 | 812642CF1D86A7A800B402CA /* Main.storyboard in Resources */, | 636 | 812642CF1D86A7A800B402CA /* Main.storyboard in Resources */, |
| 634 | 81DE0A7E1DE5838B003604FE /* cancel.png in Resources */, | 637 | 81DE0A7E1DE5838B003604FE /* cancel.png in Resources */, |
| 638 | + 810EB6381E543E8A00C33D18 /* touxiang.png in Resources */, | ||
| 635 | 810D9B661D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle in Resources */, | 639 | 810D9B661D8FB70600B7A776 /* TencentOpenApi_IOS_Bundle.bundle in Resources */, |
| 636 | 8187A90D1D8E9A7B007FAFB6 /* SVProgressHUD.bundle in Resources */, | 640 | 8187A90D1D8E9A7B007FAFB6 /* SVProgressHUD.bundle in Resources */, |
| 637 | 810D9B681D8FB70600B7A776 /* WeiboSDK.bundle in Resources */, | 641 | 810D9B681D8FB70600B7A776 /* WeiboSDK.bundle in Resources */, |
| @@ -660,43 +664,43 @@ | @@ -660,43 +664,43 @@ | ||
| 660 | isa = PBXSourcesBuildPhase; | 664 | isa = PBXSourcesBuildPhase; |
| 661 | buildActionMask = 2147483647; | 665 | buildActionMask = 2147483647; |
| 662 | files = ( | 666 | files = ( |
| 667 | + 810EB6441E543EE900C33D18 /* LoginViewController.m in Sources */, | ||
| 663 | 8107CD3C1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m in Sources */, | 668 | 8107CD3C1DDEFB9B0061EA8A /* CNLiveThirdLoginManager.m in Sources */, |
| 664 | 811600FB1D927E7E003CAE7D /* UIImageView+HighlightedWebCache.m in Sources */, | 669 | 811600FB1D927E7E003CAE7D /* UIImageView+HighlightedWebCache.m in Sources */, |
| 665 | 811600FC1D927E7E003CAE7D /* UIImageView+WebCache.m in Sources */, | 670 | 811600FC1D927E7E003CAE7D /* UIImageView+WebCache.m in Sources */, |
| 666 | - B6B54BEA1D8D009800089C9C /* UserInfoHeaderImageTableViewCell.m in Sources */, | ||
| 667 | 8187A90C1D8E9A7B007FAFB6 /* SVProgressAnimatedView.m in Sources */, | 671 | 8187A90C1D8E9A7B007FAFB6 /* SVProgressAnimatedView.m in Sources */, |
| 668 | 811600F71D927E7E003CAE7D /* UIButton+WebCache.m in Sources */, | 672 | 811600F71D927E7E003CAE7D /* UIButton+WebCache.m in Sources */, |
| 669 | - 8116F8E41D8916250084FE49 /* IdAndPwdView.m in Sources */, | ||
| 670 | - 8107CD3F1DDEFBB50061EA8A /* ThirdPartyView.m in Sources */, | ||
| 671 | 811600F81D927E7E003CAE7D /* UIImage+GIF.m in Sources */, | 673 | 811600F81D927E7E003CAE7D /* UIImage+GIF.m in Sources */, |
| 672 | 811600F61D927E7E003CAE7D /* SDWebImagePrefetcher.m in Sources */, | 674 | 811600F61D927E7E003CAE7D /* SDWebImagePrefetcher.m in Sources */, |
| 673 | - 8116F8F11D891BCD0084FE49 /* RegistBasicInformationView.m in Sources */, | ||
| 674 | 8187A8F61D8E6486007FAFB6 /* NSObject+UserModel.m in Sources */, | 675 | 8187A8F61D8E6486007FAFB6 /* NSObject+UserModel.m in Sources */, |
| 675 | - 81F23C871DDDA17D004D0298 /* ModifyUserInfoViewController.m in Sources */, | ||
| 676 | 811600F11D927E7E003CAE7D /* SDWebImageCompat.m in Sources */, | 676 | 811600F11D927E7E003CAE7D /* SDWebImageCompat.m in Sources */, |
| 677 | 811600F31D927E7E003CAE7D /* SDWebImageDownloader.m in Sources */, | 677 | 811600F31D927E7E003CAE7D /* SDWebImageDownloader.m in Sources */, |
| 678 | 811600F41D927E7E003CAE7D /* SDWebImageDownloaderOperation.m in Sources */, | 678 | 811600F41D927E7E003CAE7D /* SDWebImageDownloaderOperation.m in Sources */, |
| 679 | 811600F21D927E7E003CAE7D /* SDWebImageDecoder.m in Sources */, | 679 | 811600F21D927E7E003CAE7D /* SDWebImageDecoder.m in Sources */, |
| 680 | + 810EB6461E543EE900C33D18 /* RegisterViewController.m in Sources */, | ||
| 680 | 811600F51D927E7E003CAE7D /* SDWebImageManager.m in Sources */, | 681 | 811600F51D927E7E003CAE7D /* SDWebImageManager.m in Sources */, |
| 681 | - 81F23C891DDDA17D004D0298 /* UserInfoViewController.m in Sources */, | ||
| 682 | - 81F23C8A1DDDA17D004D0298 /* ViewController.m in Sources */, | 682 | + 810EB6541E543EFC00C33D18 /* IdAndPwdView.m in Sources */, |
| 683 | 8187A8FB1D8E68CD007FAFB6 /* CNLiveLogout.m in Sources */, | 683 | 8187A8FB1D8E68CD007FAFB6 /* CNLiveLogout.m in Sources */, |
| 684 | + 810EB6561E543EFC00C33D18 /* ThirdPartyView.m in Sources */, | ||
| 684 | 8187A90E1D8E9A7B007FAFB6 /* SVProgressHUD.m in Sources */, | 685 | 8187A90E1D8E9A7B007FAFB6 /* SVProgressHUD.m in Sources */, |
| 685 | 811600FD1D927E7E003CAE7D /* UIView+WebCacheOperation.m in Sources */, | 686 | 811600FD1D927E7E003CAE7D /* UIView+WebCacheOperation.m in Sources */, |
| 686 | 8187A8EF1D8E6394007FAFB6 /* Tools.m in Sources */, | 687 | 8187A8EF1D8E6394007FAFB6 /* Tools.m in Sources */, |
| 687 | - 81F23C861DDDA17D004D0298 /* LoginViewController.m in Sources */, | ||
| 688 | 812642C91D86A7A800B402CA /* AppDelegate.m in Sources */, | 688 | 812642C91D86A7A800B402CA /* AppDelegate.m in Sources */, |
| 689 | + 810EB6451E543EE900C33D18 /* ModifyUserInfoViewController.m in Sources */, | ||
| 689 | 8187A90B1D8E9A7B007FAFB6 /* SVIndefiniteAnimatedView.m in Sources */, | 690 | 8187A90B1D8E9A7B007FAFB6 /* SVIndefiniteAnimatedView.m in Sources */, |
| 691 | + 810EB6571E543EFC00C33D18 /* UserInfoHeaderImageTableViewCell.m in Sources */, | ||
| 690 | 811600EE1D927E7E003CAE7D /* MKAnnotationView+WebCache.m in Sources */, | 692 | 811600EE1D927E7E003CAE7D /* MKAnnotationView+WebCache.m in Sources */, |
| 691 | - 81F23C881DDDA17D004D0298 /* RegisterViewController.m in Sources */, | ||
| 692 | 811600F91D927E7E003CAE7D /* UIImage+MultiFormat.m in Sources */, | 693 | 811600F91D927E7E003CAE7D /* UIImage+MultiFormat.m in Sources */, |
| 693 | - B6B54BED1D8D011000089C9C /* UserInfoTableViewCell.m in Sources */, | ||
| 694 | 8187A8F81D8E6486007FAFB6 /* UserInfoSava.m in Sources */, | 694 | 8187A8F81D8E6486007FAFB6 /* UserInfoSava.m in Sources */, |
| 695 | 811600EF1D927E7E003CAE7D /* NSData+ImageContentType.m in Sources */, | 695 | 811600EF1D927E7E003CAE7D /* NSData+ImageContentType.m in Sources */, |
| 696 | 812642C61D86A7A800B402CA /* main.m in Sources */, | 696 | 812642C61D86A7A800B402CA /* main.m in Sources */, |
| 697 | + 810EB6481E543EE900C33D18 /* ViewController.m in Sources */, | ||
| 697 | 811600FA1D927E7E003CAE7D /* UIImage+WebP.m in Sources */, | 698 | 811600FA1D927E7E003CAE7D /* UIImage+WebP.m in Sources */, |
| 698 | 8187A90F1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m in Sources */, | 699 | 8187A90F1D8E9A7B007FAFB6 /* SVRadialGradientLayer.m in Sources */, |
| 700 | + 810EB6551E543EFC00C33D18 /* RegistBasicInformationView.m in Sources */, | ||
| 701 | + 810EB6471E543EE900C33D18 /* UserInfoViewController.m in Sources */, | ||
| 699 | 8187A8F71D8E6486007FAFB6 /* UserInfoModel.m in Sources */, | 702 | 8187A8F71D8E6486007FAFB6 /* UserInfoModel.m in Sources */, |
| 703 | + 810EB6581E543EFC00C33D18 /* UserInfoTableViewCell.m in Sources */, | ||
| 700 | 811600F01D927E7E003CAE7D /* SDImageCache.m in Sources */, | 704 | 811600F01D927E7E003CAE7D /* SDImageCache.m in Sources */, |
| 701 | ); | 705 | ); |
| 702 | runOnlyForDeploymentPostprocessing = 0; | 706 | runOnlyForDeploymentPostprocessing = 0; |
CNLiveUserSystemDemo/CNLiveUserSystemDemo.xcodeproj/project.xcworkspace/xcuserdata/iOS.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
CNLiveUserSystemDemo/CNLiveUserSystemDemo.xcodeproj/xcuserdata/iOS.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
| @@ -13,5 +13,53 @@ | @@ -13,5 +13,53 @@ | ||
| 13 | stopOnStyle = "0"> | 13 | stopOnStyle = "0"> |
| 14 | </BreakpointContent> | 14 | </BreakpointContent> |
| 15 | </BreakpointProxy> | 15 | </BreakpointProxy> |
| 16 | + <BreakpointProxy | ||
| 17 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 18 | + <BreakpointContent | ||
| 19 | + shouldBeEnabled = "Yes" | ||
| 20 | + ignoreCount = "0" | ||
| 21 | + continueAfterRunningActions = "No" | ||
| 22 | + filePath = "CNLiveUserSystemDemo/Conreollers/ModifyUserInfoViewController.m" | ||
| 23 | + timestampString = "503566759.256801" | ||
| 24 | + startingColumnNumber = "9223372036854775807" | ||
| 25 | + endingColumnNumber = "9223372036854775807" | ||
| 26 | + startingLineNumber = "77" | ||
| 27 | + endingLineNumber = "77" | ||
| 28 | + landmarkName = "-verificationBtnAction" | ||
| 29 | + landmarkType = "7"> | ||
| 30 | + </BreakpointContent> | ||
| 31 | + </BreakpointProxy> | ||
| 32 | + <BreakpointProxy | ||
| 33 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 34 | + <BreakpointContent | ||
| 35 | + shouldBeEnabled = "Yes" | ||
| 36 | + ignoreCount = "0" | ||
| 37 | + continueAfterRunningActions = "No" | ||
| 38 | + filePath = "CNLiveUserSystemDemo/Conreollers/ViewController.m" | ||
| 39 | + timestampString = "506243231.938037" | ||
| 40 | + startingColumnNumber = "9223372036854775807" | ||
| 41 | + endingColumnNumber = "9223372036854775807" | ||
| 42 | + startingLineNumber = "187" | ||
| 43 | + endingLineNumber = "187" | ||
| 44 | + landmarkName = "-tableView:didSelectRowAtIndexPath:" | ||
| 45 | + landmarkType = "7"> | ||
| 46 | + </BreakpointContent> | ||
| 47 | + </BreakpointProxy> | ||
| 48 | + <BreakpointProxy | ||
| 49 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 50 | + <BreakpointContent | ||
| 51 | + shouldBeEnabled = "Yes" | ||
| 52 | + ignoreCount = "0" | ||
| 53 | + continueAfterRunningActions = "No" | ||
| 54 | + filePath = "CNLiveUserSystemDemo/Conreollers/RegisterViewController.m" | ||
| 55 | + timestampString = "506483472.37067" | ||
| 56 | + startingColumnNumber = "9223372036854775807" | ||
| 57 | + endingColumnNumber = "9223372036854775807" | ||
| 58 | + startingLineNumber = "50" | ||
| 59 | + endingLineNumber = "50" | ||
| 60 | + landmarkName = "-verificationBtnAction" | ||
| 61 | + landmarkType = "7"> | ||
| 62 | + </BreakpointContent> | ||
| 63 | + </BreakpointProxy> | ||
| 16 | </Breakpoints> | 64 | </Breakpoints> |
| 17 | </Bucket> | 65 | </Bucket> |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Conreollers/LoginViewController.m
| @@ -32,6 +32,11 @@ | @@ -32,6 +32,11 @@ | ||
| 32 | [super viewDidLoad]; | 32 | [super viewDidLoad]; |
| 33 | self.title = @"登录"; | 33 | self.title = @"登录"; |
| 34 | self.view.backgroundColor = [UIColor whiteColor]; | 34 | self.view.backgroundColor = [UIColor whiteColor]; |
| 35 | + | ||
| 36 | + UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init]; | ||
| 37 | + backItem.title = @"back"; | ||
| 38 | + self.navigationItem.backBarButtonItem = backItem; | ||
| 39 | + | ||
| 35 | [self.view addSubview:self.idAndPwdView]; | 40 | [self.view addSubview:self.idAndPwdView]; |
| 36 | [self.view addSubview:self.loginBtn]; | 41 | [self.view addSubview:self.loginBtn]; |
| 37 | [self.view addSubview:self.messageLoginBtn]; | 42 | [self.view addSubview:self.messageLoginBtn]; |
| @@ -45,7 +50,7 @@ | @@ -45,7 +50,7 @@ | ||
| 45 | 50 | ||
| 46 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginSuccess) name:ThirdLoginSuccess object:nil]; | 51 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginSuccess) name:ThirdLoginSuccess object:nil]; |
| 47 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginFailure) name:ThirdLoginFailure object:nil]; | 52 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginFailure) name:ThirdLoginFailure object:nil]; |
| 48 | - | 53 | + |
| 49 | } | 54 | } |
| 50 | 55 | ||
| 51 | #pragma mark - action | 56 | #pragma mark - action |
| @@ -55,7 +60,7 @@ | @@ -55,7 +60,7 @@ | ||
| 55 | [SVProgressHUD show]; | 60 | [SVProgressHUD show]; |
| 56 | 61 | ||
| 57 | [CNLiveUserSystemCenter loginWithUserName:_idAndPwdView.idTF.text password:_idAndPwdView.pwdTF.text frmId:nil success:^(id result) { | 62 | [CNLiveUserSystemCenter loginWithUserName:_idAndPwdView.idTF.text password:_idAndPwdView.pwdTF.text frmId:nil success:^(id result) { |
| 58 | - | 63 | + |
| 59 | NSLog(@"登录 success------------%@",result); | 64 | NSLog(@"登录 success------------%@",result); |
| 60 | [SVProgressHUD showSuccessWithStatus:@"登录成功"]; | 65 | [SVProgressHUD showSuccessWithStatus:@"登录成功"]; |
| 61 | [UserInfoSava saveUserinfoDic:result[@"data"]]; | 66 | [UserInfoSava saveUserinfoDic:result[@"data"]]; |
| @@ -133,12 +138,15 @@ | @@ -133,12 +138,15 @@ | ||
| 133 | { | 138 | { |
| 134 | if (!_loginBtn) { | 139 | if (!_loginBtn) { |
| 135 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 140 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 136 | - _loginBtn.backgroundColor = [UIColor orangeColor]; | ||
| 137 | [_loginBtn setFrame:CGRectMake(10, 250, KScreenWidth - 20, 40)]; | 141 | [_loginBtn setFrame:CGRectMake(10, 250, KScreenWidth - 20, 40)]; |
| 138 | - _loginBtn.layer.cornerRadius = 20; | ||
| 139 | - _loginBtn.layer.masksToBounds = YES; | ||
| 140 | [_loginBtn setTitle:@"登 录" forState:UIControlStateNormal]; | 142 | [_loginBtn setTitle:@"登 录" forState:UIControlStateNormal]; |
| 141 | [_loginBtn addTarget:self action:@selector(loginBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 143 | [_loginBtn addTarget:self action:@selector(loginBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 144 | + _loginBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 145 | + [_loginBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 146 | + _loginBtn.layer.cornerRadius = 20; | ||
| 147 | + _loginBtn.layer.masksToBounds = YES; | ||
| 148 | + _loginBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 149 | + _loginBtn.layer.borderWidth = 1; | ||
| 142 | } | 150 | } |
| 143 | return _loginBtn; | 151 | return _loginBtn; |
| 144 | } | 152 | } |
| @@ -152,6 +160,8 @@ | @@ -152,6 +160,8 @@ | ||
| 152 | _messageLoginBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 160 | _messageLoginBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 153 | [_messageLoginBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; | 161 | [_messageLoginBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; |
| 154 | [_messageLoginBtn addTarget:self action:@selector(messageLoginBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 162 | [_messageLoginBtn addTarget:self action:@selector(messageLoginBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 163 | + [_messageLoginBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 164 | + | ||
| 155 | } | 165 | } |
| 156 | return _messageLoginBtn; | 166 | return _messageLoginBtn; |
| 157 | } | 167 | } |
| @@ -165,6 +175,8 @@ | @@ -165,6 +175,8 @@ | ||
| 165 | _registBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 175 | _registBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 166 | [_registBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; | 176 | [_registBtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; |
| 167 | [_registBtn addTarget:self action:@selector(registBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 177 | [_registBtn addTarget:self action:@selector(registBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 178 | + [_registBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 179 | + | ||
| 168 | } | 180 | } |
| 169 | return _registBtn; | 181 | return _registBtn; |
| 170 | } | 182 | } |
| @@ -174,7 +186,7 @@ | @@ -174,7 +186,7 @@ | ||
| 174 | if (!_thirdpartyLoginLbl) { | 186 | if (!_thirdpartyLoginLbl) { |
| 175 | _thirdpartyLoginLbl = [[UILabel alloc] initWithFrame:CGRectMake(0, KScreenHeight - 200, KScreenWidth, 15)]; | 187 | _thirdpartyLoginLbl = [[UILabel alloc] initWithFrame:CGRectMake(0, KScreenHeight - 200, KScreenWidth, 15)]; |
| 176 | _thirdpartyLoginLbl.textAlignment = NSTextAlignmentCenter; | 188 | _thirdpartyLoginLbl.textAlignment = NSTextAlignmentCenter; |
| 177 | - _thirdpartyLoginLbl.textColor = [UIColor orangeColor]; | 189 | + _thirdpartyLoginLbl.textColor = [UIColor blackColor]; |
| 178 | _thirdpartyLoginLbl.text = @"第三方账号登录"; | 190 | _thirdpartyLoginLbl.text = @"第三方账号登录"; |
| 179 | _thirdpartyLoginLbl.font = [UIFont systemFontOfSize:15]; | 191 | _thirdpartyLoginLbl.font = [UIFont systemFontOfSize:15]; |
| 180 | } | 192 | } |
| @@ -185,12 +197,15 @@ | @@ -185,12 +197,15 @@ | ||
| 185 | { | 197 | { |
| 186 | if (!_weChatBtn) { | 198 | if (!_weChatBtn) { |
| 187 | _weChatBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 199 | _weChatBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 188 | - _weChatBtn.backgroundColor = [UIColor orangeColor]; | ||
| 189 | [_weChatBtn setFrame:CGRectMake(SpaceWidth, KScreenHeight-150, 80, 40)]; | 200 | [_weChatBtn setFrame:CGRectMake(SpaceWidth, KScreenHeight-150, 80, 40)]; |
| 190 | - _weChatBtn.layer.cornerRadius = 20; | ||
| 191 | - _weChatBtn.layer.masksToBounds = YES; | ||
| 192 | [_weChatBtn setTitle:@"微信" forState:UIControlStateNormal]; | 201 | [_weChatBtn setTitle:@"微信" forState:UIControlStateNormal]; |
| 193 | [_weChatBtn addTarget:self action:@selector(weChatBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 202 | [_weChatBtn addTarget:self action:@selector(weChatBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 203 | + _weChatBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 204 | + [_weChatBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 205 | + _weChatBtn.layer.cornerRadius = 20; | ||
| 206 | + _weChatBtn.layer.masksToBounds = YES; | ||
| 207 | + _weChatBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 208 | + _weChatBtn.layer.borderWidth = 1; | ||
| 194 | } | 209 | } |
| 195 | return _weChatBtn; | 210 | return _weChatBtn; |
| 196 | } | 211 | } |
| @@ -199,12 +214,15 @@ | @@ -199,12 +214,15 @@ | ||
| 199 | { | 214 | { |
| 200 | if (!_sinaBtn) { | 215 | if (!_sinaBtn) { |
| 201 | _sinaBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 216 | _sinaBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 202 | - _sinaBtn.backgroundColor = [UIColor orangeColor]; | ||
| 203 | [_sinaBtn setFrame:CGRectMake(SpaceWidth*2+80, KScreenHeight-150, 80, 40)]; | 217 | [_sinaBtn setFrame:CGRectMake(SpaceWidth*2+80, KScreenHeight-150, 80, 40)]; |
| 204 | - _sinaBtn.layer.cornerRadius = 20; | ||
| 205 | - _sinaBtn.layer.masksToBounds = YES; | ||
| 206 | [_sinaBtn setTitle:@"微博" forState:UIControlStateNormal]; | 218 | [_sinaBtn setTitle:@"微博" forState:UIControlStateNormal]; |
| 207 | [_sinaBtn addTarget:self action:@selector(sinaBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 219 | [_sinaBtn addTarget:self action:@selector(sinaBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 220 | + _sinaBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 221 | + [_sinaBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 222 | + _sinaBtn.layer.cornerRadius = 20; | ||
| 223 | + _sinaBtn.layer.masksToBounds = YES; | ||
| 224 | + _sinaBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 225 | + _sinaBtn.layer.borderWidth = 1; | ||
| 208 | } | 226 | } |
| 209 | return _sinaBtn; | 227 | return _sinaBtn; |
| 210 | } | 228 | } |
| @@ -213,12 +231,15 @@ | @@ -213,12 +231,15 @@ | ||
| 213 | { | 231 | { |
| 214 | if (!_qqBtn) { | 232 | if (!_qqBtn) { |
| 215 | _qqBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 233 | _qqBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 216 | - _qqBtn.backgroundColor = [UIColor orangeColor]; | ||
| 217 | [_qqBtn setFrame:CGRectMake(SpaceWidth*3+80*2, KScreenHeight-150, 80, 40)]; | 234 | [_qqBtn setFrame:CGRectMake(SpaceWidth*3+80*2, KScreenHeight-150, 80, 40)]; |
| 218 | - _qqBtn.layer.cornerRadius = 20; | ||
| 219 | - _qqBtn.layer.masksToBounds = YES; | ||
| 220 | [_qqBtn setTitle:@"QQ" forState:UIControlStateNormal]; | 235 | [_qqBtn setTitle:@"QQ" forState:UIControlStateNormal]; |
| 221 | [_qqBtn addTarget:self action:@selector(qqBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 236 | [_qqBtn addTarget:self action:@selector(qqBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 237 | + _qqBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 238 | + [_qqBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 239 | + _qqBtn.layer.cornerRadius = 20; | ||
| 240 | + _qqBtn.layer.masksToBounds = YES; | ||
| 241 | + _qqBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 242 | + _qqBtn.layer.borderWidth = 1; | ||
| 222 | } | 243 | } |
| 223 | return _qqBtn; | 244 | return _qqBtn; |
| 224 | } | 245 | } |
| @@ -229,13 +250,13 @@ | @@ -229,13 +250,13 @@ | ||
| 229 | } | 250 | } |
| 230 | 251 | ||
| 231 | /* | 252 | /* |
| 232 | - #pragma mark - Navigation | ||
| 233 | - | ||
| 234 | - // In a storyboard-based application, you will often want to do a little preparation before navigation | ||
| 235 | - - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | ||
| 236 | - // Get the new view controller using [segue destinationViewController]. | ||
| 237 | - // Pass the selected object to the new view controller. | ||
| 238 | - } | ||
| 239 | - */ | 253 | +#pragma mark - Navigation |
| 254 | + | ||
| 255 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
| 256 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | ||
| 257 | + // Get the new view controller using [segue destinationViewController]. | ||
| 258 | + // Pass the selected object to the new view controller. | ||
| 259 | +} | ||
| 260 | +*/ | ||
| 240 | 261 | ||
| 241 | @end | 262 | @end |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Conreollers/ModifyUserInfoViewController.m
| @@ -24,6 +24,10 @@ | @@ -24,6 +24,10 @@ | ||
| 24 | [super viewDidLoad]; | 24 | [super viewDidLoad]; |
| 25 | self.view.backgroundColor = [UIColor whiteColor]; | 25 | self.view.backgroundColor = [UIColor whiteColor]; |
| 26 | 26 | ||
| 27 | + UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init]; | ||
| 28 | + backItem.title = @"back"; | ||
| 29 | + self.navigationItem.backBarButtonItem = backItem; | ||
| 30 | + | ||
| 27 | if ([self.title isEqualToString:@"更新手机号"]) { | 31 | if ([self.title isEqualToString:@"更新手机号"]) { |
| 28 | [self.view addSubview:self.registBasicInformationView]; | 32 | [self.view addSubview:self.registBasicInformationView]; |
| 29 | [self.view addSubview:self.verificationBtn]; | 33 | [self.view addSubview:self.verificationBtn]; |
| @@ -80,6 +84,7 @@ | @@ -80,6 +84,7 @@ | ||
| 80 | 84 | ||
| 81 | } failure:^(NSDictionary *errorDic) { | 85 | } failure:^(NSDictionary *errorDic) { |
| 82 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 86 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 87 | + | ||
| 83 | }]; | 88 | }]; |
| 84 | } | 89 | } |
| 85 | 90 | ||
| @@ -155,12 +160,15 @@ | @@ -155,12 +160,15 @@ | ||
| 155 | { | 160 | { |
| 156 | if (!_saveBtn) { | 161 | if (!_saveBtn) { |
| 157 | _saveBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 162 | _saveBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 158 | - _saveBtn.backgroundColor = [UIColor orangeColor]; | ||
| 159 | [_saveBtn setFrame:CGRectMake(10, 250, KScreenWidth - 20, 40)]; | 163 | [_saveBtn setFrame:CGRectMake(10, 250, KScreenWidth - 20, 40)]; |
| 160 | - _saveBtn.layer.cornerRadius = 20; | ||
| 161 | - _saveBtn.layer.masksToBounds = YES; | ||
| 162 | [_saveBtn setTitle:@"保 存" forState:UIControlStateNormal]; | 164 | [_saveBtn setTitle:@"保 存" forState:UIControlStateNormal]; |
| 163 | [_saveBtn addTarget:self action:@selector(saveBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 165 | [_saveBtn addTarget:self action:@selector(saveBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 166 | + _saveBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 167 | + [_saveBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 168 | + _saveBtn.layer.cornerRadius = 20; | ||
| 169 | + _saveBtn.layer.masksToBounds = YES; | ||
| 170 | + _saveBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 171 | + _saveBtn.layer.borderWidth = 1; | ||
| 164 | } | 172 | } |
| 165 | return _saveBtn; | 173 | return _saveBtn; |
| 166 | } | 174 | } |
| @@ -178,11 +186,15 @@ | @@ -178,11 +186,15 @@ | ||
| 178 | if (!_verificationBtn) { | 186 | if (!_verificationBtn) { |
| 179 | _verificationBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 187 | _verificationBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 180 | [_verificationBtn setFrame:CGRectMake(KScreenWidth - 105, 80, 95, 37)]; | 188 | [_verificationBtn setFrame:CGRectMake(KScreenWidth - 105, 80, 95, 37)]; |
| 181 | - _verificationBtn.backgroundColor = [UIColor orangeColor]; | ||
| 182 | - _verificationBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | ||
| 183 | [_verificationBtn setTitle:@"获取验证码" forState:UIControlStateNormal]; | 189 | [_verificationBtn setTitle:@"获取验证码" forState:UIControlStateNormal]; |
| 184 | [_verificationBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 190 | [_verificationBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 185 | [_verificationBtn addTarget:self action:@selector(verificationBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 191 | [_verificationBtn addTarget:self action:@selector(verificationBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 192 | + _verificationBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | ||
| 193 | + [_verificationBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 194 | + _verificationBtn.layer.cornerRadius = 10; | ||
| 195 | + _verificationBtn.layer.masksToBounds = YES; | ||
| 196 | + _verificationBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 197 | + _verificationBtn.layer.borderWidth = 1; | ||
| 186 | } | 198 | } |
| 187 | return _verificationBtn; | 199 | return _verificationBtn; |
| 188 | } | 200 | } |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Conreollers/RegisterViewController.m
| @@ -11,10 +11,10 @@ | @@ -11,10 +11,10 @@ | ||
| 11 | 11 | ||
| 12 | @interface RegisterViewController () | 12 | @interface RegisterViewController () |
| 13 | 13 | ||
| 14 | -@property (nonatomic, strong)RegistBasicInformationView *registBasicInformationView; | ||
| 15 | -@property (nonatomic, strong)UIButton *verificationBtn; | ||
| 16 | -@property (nonatomic, strong)UIButton *loginBtn; | ||
| 17 | - | 14 | +@property (nonatomic, strong) RegistBasicInformationView *registBasicInformationView; |
| 15 | +@property (nonatomic, strong) UIButton *verificationBtn; | ||
| 16 | +@property (nonatomic, strong) UIButton *loginBtn; | ||
| 17 | +@property (nonatomic, strong) dispatch_source_t timer; | ||
| 18 | 18 | ||
| 19 | @end | 19 | @end |
| 20 | 20 | ||
| @@ -22,6 +22,11 @@ | @@ -22,6 +22,11 @@ | ||
| 22 | 22 | ||
| 23 | - (void)viewDidLoad { | 23 | - (void)viewDidLoad { |
| 24 | [super viewDidLoad]; | 24 | [super viewDidLoad]; |
| 25 | + self.view.backgroundColor = [UIColor whiteColor]; | ||
| 26 | + | ||
| 27 | + UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init]; | ||
| 28 | + backItem.title = @"back"; | ||
| 29 | + self.navigationItem.backBarButtonItem = backItem; | ||
| 25 | 30 | ||
| 26 | if ([_type isEqualToString:@"register"]) { | 31 | if ([_type isEqualToString:@"register"]) { |
| 27 | self.title = @"注册"; | 32 | self.title = @"注册"; |
| @@ -31,7 +36,6 @@ | @@ -31,7 +36,6 @@ | ||
| 31 | self.title = @"修改密码"; | 36 | self.title = @"修改密码"; |
| 32 | } | 37 | } |
| 33 | 38 | ||
| 34 | - self.view.backgroundColor = [UIColor whiteColor]; | ||
| 35 | [self.view addSubview:self.registBasicInformationView]; | 39 | [self.view addSubview:self.registBasicInformationView]; |
| 36 | [self.view addSubview:self.verificationBtn]; | 40 | [self.view addSubview:self.verificationBtn]; |
| 37 | [self.view addSubview:self.loginBtn]; | 41 | [self.view addSubview:self.loginBtn]; |
| @@ -51,6 +55,9 @@ | @@ -51,6 +55,9 @@ | ||
| 51 | 55 | ||
| 52 | } failure:^(NSDictionary *errorDic) { | 56 | } failure:^(NSDictionary *errorDic) { |
| 53 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 57 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 58 | + | ||
| 59 | + [self stopTimer]; | ||
| 60 | + | ||
| 54 | }]; | 61 | }]; |
| 55 | 62 | ||
| 56 | } else if ([_type isEqualToString:@"quicklyLogin"]) { | 63 | } else if ([_type isEqualToString:@"quicklyLogin"]) { |
| @@ -61,6 +68,9 @@ | @@ -61,6 +68,9 @@ | ||
| 61 | 68 | ||
| 62 | } failure:^(NSDictionary *errorDic) { | 69 | } failure:^(NSDictionary *errorDic) { |
| 63 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 70 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 71 | + | ||
| 72 | + [self stopTimer]; | ||
| 73 | + | ||
| 64 | }]; | 74 | }]; |
| 65 | 75 | ||
| 66 | } else { | 76 | } else { |
| @@ -71,10 +81,20 @@ | @@ -71,10 +81,20 @@ | ||
| 71 | 81 | ||
| 72 | } failure:^(NSDictionary *errorDic) { | 82 | } failure:^(NSDictionary *errorDic) { |
| 73 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 83 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 84 | + | ||
| 85 | + [self stopTimer]; | ||
| 74 | }]; | 86 | }]; |
| 75 | } | 87 | } |
| 76 | } | 88 | } |
| 77 | 89 | ||
| 90 | +- (void)stopTimer | ||
| 91 | +{ | ||
| 92 | + [self.verificationBtn setTitle:@"发送验证码" forState:UIControlStateNormal]; | ||
| 93 | + self.verificationBtn.userInteractionEnabled = YES; | ||
| 94 | + dispatch_cancel(self.timer); | ||
| 95 | + self.timer = nil; | ||
| 96 | +} | ||
| 97 | + | ||
| 78 | - (void)loginBtnAction | 98 | - (void)loginBtnAction |
| 79 | { | 99 | { |
| 80 | 100 | ||
| @@ -85,6 +105,7 @@ | @@ -85,6 +105,7 @@ | ||
| 85 | 105 | ||
| 86 | [CNLiveUserSystemCenter registerWithUserName:_registBasicInformationView.phoneTF.text password:_registBasicInformationView.setPwdTF.text verificationCode:_registBasicInformationView.verificationTF.text invitationCode:nil frmId:nil success:^(id result) { | 106 | [CNLiveUserSystemCenter registerWithUserName:_registBasicInformationView.phoneTF.text password:_registBasicInformationView.setPwdTF.text verificationCode:_registBasicInformationView.verificationTF.text invitationCode:nil frmId:nil success:^(id result) { |
| 87 | 107 | ||
| 108 | + NSLog(@"result --- %@",result); | ||
| 88 | [Tools setUserLogin:YES]; | 109 | [Tools setUserLogin:YES]; |
| 89 | [SVProgressHUD showSuccessWithStatus:@"成功"]; | 110 | [SVProgressHUD showSuccessWithStatus:@"成功"]; |
| 90 | [UserInfoSava saveUserinfoDic:result[@"data"]]; | 111 | [UserInfoSava saveUserinfoDic:result[@"data"]]; |
| @@ -129,7 +150,7 @@ | @@ -129,7 +150,7 @@ | ||
| 129 | 150 | ||
| 130 | dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); | 151 | dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); |
| 131 | 152 | ||
| 132 | - dispatch_source_t _timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0,queue); | 153 | + self.timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0,queue); |
| 133 | 154 | ||
| 134 | dispatch_source_set_timer(_timer,dispatch_walltime(NULL, 0),1.0*NSEC_PER_SEC, 0); //每秒执行 | 155 | dispatch_source_set_timer(_timer,dispatch_walltime(NULL, 0),1.0*NSEC_PER_SEC, 0); //每秒执行 |
| 135 | 156 | ||
| @@ -144,15 +165,12 @@ | @@ -144,15 +165,12 @@ | ||
| 144 | //设置界面的按钮显示 根据自己需求设置 | 165 | //设置界面的按钮显示 根据自己需求设置 |
| 145 | 166 | ||
| 146 | [self.verificationBtn setTitle:@"发送验证码" forState:UIControlStateNormal]; | 167 | [self.verificationBtn setTitle:@"发送验证码" forState:UIControlStateNormal]; |
| 147 | - | ||
| 148 | self.verificationBtn.userInteractionEnabled = YES; | 168 | self.verificationBtn.userInteractionEnabled = YES; |
| 149 | 169 | ||
| 150 | }); | 170 | }); |
| 151 | 171 | ||
| 152 | }else{ | 172 | }else{ |
| 153 | 173 | ||
| 154 | - // int minutes = timeout / 60; | ||
| 155 | - | ||
| 156 | int seconds = timeout % 60; | 174 | int seconds = timeout % 60; |
| 157 | 175 | ||
| 158 | NSString *strTime = [NSString stringWithFormat:@"%.2d", seconds]; | 176 | NSString *strTime = [NSString stringWithFormat:@"%.2d", seconds]; |
| @@ -200,11 +218,15 @@ | @@ -200,11 +218,15 @@ | ||
| 200 | if (!_verificationBtn) { | 218 | if (!_verificationBtn) { |
| 201 | _verificationBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 219 | _verificationBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 202 | [_verificationBtn setFrame:CGRectMake(KScreenWidth - 105, 80, 95, 37)]; | 220 | [_verificationBtn setFrame:CGRectMake(KScreenWidth - 105, 80, 95, 37)]; |
| 203 | - _verificationBtn.backgroundColor = [UIColor orangeColor]; | ||
| 204 | - _verificationBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | ||
| 205 | [_verificationBtn setTitle:@"获取验证码" forState:UIControlStateNormal]; | 221 | [_verificationBtn setTitle:@"获取验证码" forState:UIControlStateNormal]; |
| 206 | [_verificationBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 222 | [_verificationBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 207 | [_verificationBtn addTarget:self action:@selector(verificationBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 223 | [_verificationBtn addTarget:self action:@selector(verificationBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 224 | + _verificationBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | ||
| 225 | + [_verificationBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 226 | + _verificationBtn.layer.cornerRadius = 10; | ||
| 227 | + _verificationBtn.layer.masksToBounds = YES; | ||
| 228 | + _verificationBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 229 | + _verificationBtn.layer.borderWidth = 1; | ||
| 208 | } | 230 | } |
| 209 | return _verificationBtn; | 231 | return _verificationBtn; |
| 210 | } | 232 | } |
| @@ -213,10 +235,7 @@ | @@ -213,10 +235,7 @@ | ||
| 213 | { | 235 | { |
| 214 | if (!_loginBtn) { | 236 | if (!_loginBtn) { |
| 215 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 237 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 216 | - _loginBtn.backgroundColor = [UIColor orangeColor]; | ||
| 217 | [_loginBtn setFrame:CGRectMake(10, 280, KScreenWidth - 20, 40)]; | 238 | [_loginBtn setFrame:CGRectMake(10, 280, KScreenWidth - 20, 40)]; |
| 218 | - _loginBtn.layer.cornerRadius = 20; | ||
| 219 | - _loginBtn.layer.masksToBounds = YES; | ||
| 220 | if ([_type isEqualToString:@"register"]) { | 239 | if ([_type isEqualToString:@"register"]) { |
| 221 | [_loginBtn setTitle:@"注 册" forState:UIControlStateNormal]; | 240 | [_loginBtn setTitle:@"注 册" forState:UIControlStateNormal]; |
| 222 | } else if ([_type isEqualToString:@"quicklyLogin"]) { | 241 | } else if ([_type isEqualToString:@"quicklyLogin"]) { |
| @@ -225,6 +244,12 @@ | @@ -225,6 +244,12 @@ | ||
| 225 | [_loginBtn setTitle:@"确 认" forState:UIControlStateNormal]; | 244 | [_loginBtn setTitle:@"确 认" forState:UIControlStateNormal]; |
| 226 | } | 245 | } |
| 227 | [_loginBtn addTarget:self action:@selector(loginBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 246 | [_loginBtn addTarget:self action:@selector(loginBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 247 | + _loginBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 248 | + [_loginBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 249 | + _loginBtn.layer.cornerRadius = 20; | ||
| 250 | + _loginBtn.layer.masksToBounds = YES; | ||
| 251 | + _loginBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 252 | + _loginBtn.layer.borderWidth = 1; | ||
| 228 | } | 253 | } |
| 229 | return _loginBtn; | 254 | return _loginBtn; |
| 230 | } | 255 | } |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Conreollers/UserInfoViewController.m
| @@ -27,6 +27,11 @@ | @@ -27,6 +27,11 @@ | ||
| 27 | - (void)viewDidLoad { | 27 | - (void)viewDidLoad { |
| 28 | [super viewDidLoad]; | 28 | [super viewDidLoad]; |
| 29 | self.view.backgroundColor = [UIColor whiteColor]; | 29 | self.view.backgroundColor = [UIColor whiteColor]; |
| 30 | + | ||
| 31 | + UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init]; | ||
| 32 | + backItem.title = @"back"; | ||
| 33 | + self.navigationItem.backBarButtonItem = backItem; | ||
| 34 | + | ||
| 30 | self.title = @"个人资料"; | 35 | self.title = @"个人资料"; |
| 31 | 36 | ||
| 32 | _titlesArray = @[@"头像", @"更新手机号", @"昵称修改", @"性别修改", @"邮箱修改",@"地址修改"]; | 37 | _titlesArray = @[@"头像", @"更新手机号", @"昵称修改", @"性别修改", @"邮箱修改",@"地址修改"]; |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Conreollers/ViewController.m
| @@ -29,18 +29,26 @@ | @@ -29,18 +29,26 @@ | ||
| 29 | 29 | ||
| 30 | - (void)viewDidLoad { | 30 | - (void)viewDidLoad { |
| 31 | [super viewDidLoad]; | 31 | [super viewDidLoad]; |
| 32 | - self.title = @"用户云"; | 32 | + self.title = @"用户云 SDK Demo"; |
| 33 | self.view.backgroundColor = [UIColor whiteColor]; | 33 | self.view.backgroundColor = [UIColor whiteColor]; |
| 34 | 34 | ||
| 35 | + UIBarButtonItem *backItem = [[UIBarButtonItem alloc] init]; | ||
| 36 | + backItem.title = @"back"; | ||
| 37 | + self.navigationItem.backBarButtonItem = backItem; | ||
| 38 | + | ||
| 39 | + UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetHeight([UIScreen mainScreen].bounds)-40, CGRectGetWidth(self.view.frame), 30)]; | ||
| 40 | + label.text = @"北京中投视讯文化传媒股份有限公司"; | ||
| 41 | + [self.view addSubview:label]; | ||
| 42 | + label.font = [UIFont systemFontOfSize:12]; | ||
| 43 | + label.textAlignment = NSTextAlignmentCenter; | ||
| 44 | + | ||
| 45 | + [self.view addSubview:label]; | ||
| 35 | [self.view addSubview:self.tableView]; | 46 | [self.view addSubview:self.tableView]; |
| 36 | [self.view addSubview:self.loginBtn]; | 47 | [self.view addSubview:self.loginBtn]; |
| 37 | [self.view addSubview:self.thirPartydView]; | 48 | [self.view addSubview:self.thirPartydView]; |
| 38 | 49 | ||
| 39 | - // UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapGesturedDetected:)]; // 手势类型随你喜欢。 | ||
| 40 | - // tapGesture.delegate = self; | ||
| 41 | - // [self.view addGestureRecognizer:tapGesture]; | ||
| 42 | - | ||
| 43 | _dataArr = @[@"通过手机号修改密码",@"更新附加信息",@"修改用户信息",@"查询用户信息",@"反馈",@"绑定第三方账号"]; | 50 | _dataArr = @[@"通过手机号修改密码",@"更新附加信息",@"修改用户信息",@"查询用户信息",@"反馈",@"绑定第三方账号"]; |
| 51 | + | ||
| 44 | } | 52 | } |
| 45 | 53 | ||
| 46 | - (void)viewWillAppear:(BOOL)animated | 54 | - (void)viewWillAppear:(BOOL)animated |
| @@ -117,11 +125,12 @@ | @@ -117,11 +125,12 @@ | ||
| 117 | UITableViewCell *loginCell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cellID"]; | 125 | UITableViewCell *loginCell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cellID"]; |
| 118 | 126 | ||
| 119 | UIImageView *iconImg = [[UIImageView alloc] initWithFrame:CGRectMake(20, 20, 80, 80)]; | 127 | UIImageView *iconImg = [[UIImageView alloc] initWithFrame:CGRectMake(20, 20, 80, 80)]; |
| 120 | - iconImg.backgroundColor = [UIColor orangeColor]; | 128 | + iconImg.layer.cornerRadius = 40; |
| 129 | + iconImg.layer.masksToBounds = YES; | ||
| 121 | [loginCell.contentView addSubview:iconImg]; | 130 | [loginCell.contentView addSubview:iconImg]; |
| 122 | UserInfoModel *model = [UserInfoModel modelWithKeyValues:[Tools getLocalUserInfo]]; | 131 | UserInfoModel *model = [UserInfoModel modelWithKeyValues:[Tools getLocalUserInfo]]; |
| 123 | - | ||
| 124 | - [iconImg sd_setImageWithURL:[NSURL URLWithString:model.faceUrl] placeholderImage:[UIImage imageNamed:@""]]; | 132 | + |
| 133 | + [iconImg sd_setImageWithURL:[NSURL URLWithString:model.faceUrl] placeholderImage:[UIImage imageNamed:@"touxiang"]]; | ||
| 125 | 134 | ||
| 126 | UILabel *name = [[UILabel alloc] initWithFrame:CGRectMake(120, 0, KScreenWidth- 160, 120)]; | 135 | UILabel *name = [[UILabel alloc] initWithFrame:CGRectMake(120, 0, KScreenWidth- 160, 120)]; |
| 127 | if ([Tools isLogin]) { | 136 | if ([Tools isLogin]) { |
| @@ -142,7 +151,7 @@ | @@ -142,7 +151,7 @@ | ||
| 142 | } | 151 | } |
| 143 | cell.textLabel.text = [NSString stringWithFormat:@"%@",_dataArr[indexPath.row-1]]; | 152 | cell.textLabel.text = [NSString stringWithFormat:@"%@",_dataArr[indexPath.row-1]]; |
| 144 | return cell; | 153 | return cell; |
| 145 | - | 154 | + |
| 146 | } | 155 | } |
| 147 | return nil; | 156 | return nil; |
| 148 | } | 157 | } |
| @@ -150,7 +159,7 @@ | @@ -150,7 +159,7 @@ | ||
| 150 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath | 159 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath |
| 151 | { | 160 | { |
| 152 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; | 161 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; |
| 153 | - | 162 | + |
| 154 | if (indexPath.row == 1) { | 163 | if (indexPath.row == 1) { |
| 155 | RegisterViewController *regVC = [[RegisterViewController alloc] init]; | 164 | RegisterViewController *regVC = [[RegisterViewController alloc] init]; |
| 156 | regVC.type = @"forgetPwd"; | 165 | regVC.type = @"forgetPwd"; |
| @@ -162,14 +171,14 @@ | @@ -162,14 +171,14 @@ | ||
| 162 | [SVProgressHUD show]; | 171 | [SVProgressHUD show]; |
| 163 | 172 | ||
| 164 | UserInfoModel *model = [UserInfoModel modelWithKeyValues:[Tools getLocalUserInfo]]; | 173 | UserInfoModel *model = [UserInfoModel modelWithKeyValues:[Tools getLocalUserInfo]]; |
| 165 | - | 174 | + |
| 166 | [CNLiveUserSystemCenter updateOtherInfoWithUid:model.uid extInfo:@"将要更新的附加信息,NSString类型" success:^(id result) { | 175 | [CNLiveUserSystemCenter updateOtherInfoWithUid:model.uid extInfo:@"将要更新的附加信息,NSString类型" success:^(id result) { |
| 167 | 176 | ||
| 168 | NSLog(@"--------%@",result); | 177 | NSLog(@"--------%@",result); |
| 169 | 178 | ||
| 170 | [SVProgressHUD showSuccessWithStatus:@"更新附加信息成功"]; | 179 | [SVProgressHUD showSuccessWithStatus:@"更新附加信息成功"]; |
| 171 | [self.navigationController popViewControllerAnimated:YES]; | 180 | [self.navigationController popViewControllerAnimated:YES]; |
| 172 | - | 181 | + |
| 173 | } failure:^(NSDictionary *errorDic) { | 182 | } failure:^(NSDictionary *errorDic) { |
| 174 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 183 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 175 | [SVProgressHUD dismiss]; | 184 | [SVProgressHUD dismiss]; |
| @@ -186,25 +195,25 @@ | @@ -186,25 +195,25 @@ | ||
| 186 | 195 | ||
| 187 | [CNLiveUserSystemCenter queryUserInfoWithUid:model.uid srcUid:model.uid success:^(id result) { | 196 | [CNLiveUserSystemCenter queryUserInfoWithUid:model.uid srcUid:model.uid success:^(id result) { |
| 188 | NSLog(@"%@",result); | 197 | NSLog(@"%@",result); |
| 189 | - | 198 | + |
| 190 | NSDictionary *dic = result[@"data"]; | 199 | NSDictionary *dic = result[@"data"]; |
| 191 | - NSString *message = [NSString stringWithFormat:@" uid:%@\n nickName:%@\n gender:%@\n location:%@\n extInfo:%@\n mobile:%@\n email:%@ \n...... ",dic[@"uid"],dic[@"nickName"],dic[@"gender"],dic[@"location"],dic[@"extInfo"],dic[@"mobile"],dic[@"email"]]; | 200 | + NSString *message = [NSString stringWithFormat:@" uid:%@\n nickName:%@\n gender:%@\n location:%@\n extInfo:%@\n mobile:%@\n email:%@",dic[@"uid"],dic[@"nickName"],dic[@"gender"],dic[@"location"],dic[@"extInfo"],dic[@"mobile"],dic[@"email"]]; |
| 192 | NSString *icon = dic[@"faceUrl"]; | 201 | NSString *icon = dic[@"faceUrl"]; |
| 193 | - | 202 | + |
| 194 | [UserInfoSava setLocalUserInfo:icon withKey:@"faceUrl"]; | 203 | [UserInfoSava setLocalUserInfo:icon withKey:@"faceUrl"]; |
| 195 | [_tableView reloadRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationFade]; | 204 | [_tableView reloadRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationFade]; |
| 196 | [Tools toast:message]; | 205 | [Tools toast:message]; |
| 197 | - | 206 | + |
| 198 | } failure:^(NSDictionary *errorDic) { | 207 | } failure:^(NSDictionary *errorDic) { |
| 199 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 208 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 200 | }]; | 209 | }]; |
| 201 | } | 210 | } |
| 202 | 211 | ||
| 203 | if (indexPath.row == 5) { | 212 | if (indexPath.row == 5) { |
| 204 | - | 213 | + |
| 205 | [CNLiveUserSystemCenter feedbackWithContentId:@"11" message:@"fhsjhifkncznshfu" success:^(id result) { | 214 | [CNLiveUserSystemCenter feedbackWithContentId:@"11" message:@"fhsjhifkncznshfu" success:^(id result) { |
| 206 | [Tools toast:[NSString stringWithFormat:@"反馈--%@",result[@"errorMessage"]]]; | 215 | [Tools toast:[NSString stringWithFormat:@"反馈--%@",result[@"errorMessage"]]]; |
| 207 | - | 216 | + |
| 208 | } failure:^(NSDictionary *errorDic) { | 217 | } failure:^(NSDictionary *errorDic) { |
| 209 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; | 218 | [Tools toast:[NSString stringWithFormat:@"errorCode : %@ \n errorMessage : %@", errorDic[@"errorCode"],errorDic[@"errorMessage"]]]; |
| 210 | }]; | 219 | }]; |
| @@ -231,7 +240,7 @@ | @@ -231,7 +240,7 @@ | ||
| 231 | - (UITableView *)tableView | 240 | - (UITableView *)tableView |
| 232 | { | 241 | { |
| 233 | if (!_tableView) { | 242 | if (!_tableView) { |
| 234 | - _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight -80) style:UITableViewStylePlain]; | 243 | + _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 64, KScreenWidth, KScreenHeight - 120 - 64) style:UITableViewStylePlain]; |
| 235 | _tableView.backgroundColor = [UIColor whiteColor]; | 244 | _tableView.backgroundColor = [UIColor whiteColor]; |
| 236 | _tableView.tableFooterView = [[UIView alloc] init]; | 245 | _tableView.tableFooterView = [[UIView alloc] init]; |
| 237 | _tableView.delegate = self; | 246 | _tableView.delegate = self; |
| @@ -252,13 +261,16 @@ | @@ -252,13 +261,16 @@ | ||
| 252 | { | 261 | { |
| 253 | if (!_loginBtn) { | 262 | if (!_loginBtn) { |
| 254 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 263 | _loginBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 255 | - _loginBtn.frame = CGRectMake(20, KScreenHeight-60, KScreenWidth-40, 40); | 264 | + _loginBtn.frame = CGRectMake(20, KScreenHeight-100, KScreenWidth-40, 40); |
| 256 | [_loginBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 265 | [_loginBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 257 | - [_loginBtn setBackgroundColor:[UIColor orangeColor]]; | ||
| 258 | _loginBtn.titleLabel.font = [UIFont systemFontOfSize:17]; | 266 | _loginBtn.titleLabel.font = [UIFont systemFontOfSize:17]; |
| 259 | [_loginBtn addTarget:self action:@selector(logoutBtnAction) forControlEvents:UIControlEventTouchUpInside]; | 267 | [_loginBtn addTarget:self action:@selector(logoutBtnAction) forControlEvents:UIControlEventTouchUpInside]; |
| 268 | + _loginBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 269 | + [_loginBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 260 | _loginBtn.layer.cornerRadius = 20; | 270 | _loginBtn.layer.cornerRadius = 20; |
| 261 | _loginBtn.layer.masksToBounds = YES; | 271 | _loginBtn.layer.masksToBounds = YES; |
| 272 | + _loginBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 273 | + _loginBtn.layer.borderWidth = 1; | ||
| 262 | } | 274 | } |
| 263 | return _loginBtn; | 275 | return _loginBtn; |
| 264 | } | 276 | } |
CNLiveUserSystemDemo/CNLiveUserSystemDemo/Views/ThirdPartyView.m
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | { | 25 | { |
| 26 | self = [super initWithFrame:frame]; | 26 | self = [super initWithFrame:frame]; |
| 27 | if (self) { | 27 | if (self) { |
| 28 | - self.backgroundColor = [UIColor blackColor]; | 28 | + self.backgroundColor = [UIColor whiteColor]; |
| 29 | [self addSubview:self.sinaBtn]; | 29 | [self addSubview:self.sinaBtn]; |
| 30 | [self addSubview:self.qqBtn]; | 30 | [self addSubview:self.qqBtn]; |
| 31 | [self addSubview:self.weChatBtn]; | 31 | [self addSubview:self.weChatBtn]; |
| @@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
| 60 | if (!_thirdpartyLoginLbl) { | 60 | if (!_thirdpartyLoginLbl) { |
| 61 | _thirdpartyLoginLbl = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, KScreenWidth, 15)]; | 61 | _thirdpartyLoginLbl = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, KScreenWidth, 15)]; |
| 62 | _thirdpartyLoginLbl.textAlignment = NSTextAlignmentCenter; | 62 | _thirdpartyLoginLbl.textAlignment = NSTextAlignmentCenter; |
| 63 | - _thirdpartyLoginLbl.textColor = [UIColor orangeColor]; | 63 | + _thirdpartyLoginLbl.textColor = [UIColor blackColor]; |
| 64 | _thirdpartyLoginLbl.text = @"第三方平台"; | 64 | _thirdpartyLoginLbl.text = @"第三方平台"; |
| 65 | _thirdpartyLoginLbl.font = [UIFont systemFontOfSize:15]; | 65 | _thirdpartyLoginLbl.font = [UIFont systemFontOfSize:15]; |
| 66 | } | 66 | } |
| @@ -71,12 +71,15 @@ | @@ -71,12 +71,15 @@ | ||
| 71 | { | 71 | { |
| 72 | if (!_weChatBtn) { | 72 | if (!_weChatBtn) { |
| 73 | _weChatBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 73 | _weChatBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 74 | - _weChatBtn.backgroundColor = [UIColor orangeColor]; | ||
| 75 | [_weChatBtn setFrame:CGRectMake(SpaceWidth, 70, 80, 40)]; | 74 | [_weChatBtn setFrame:CGRectMake(SpaceWidth, 70, 80, 40)]; |
| 76 | - _weChatBtn.layer.cornerRadius = 20; | ||
| 77 | - _weChatBtn.layer.masksToBounds = YES; | ||
| 78 | [_weChatBtn setTitle:@"微信" forState:UIControlStateNormal]; | 75 | [_weChatBtn setTitle:@"微信" forState:UIControlStateNormal]; |
| 79 | [_weChatBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; | 76 | [_weChatBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; |
| 77 | + _weChatBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 78 | + [_weChatBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 79 | + _weChatBtn.layer.cornerRadius = 20; | ||
| 80 | + _weChatBtn.layer.masksToBounds = YES; | ||
| 81 | + _weChatBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 82 | + _weChatBtn.layer.borderWidth = 1; | ||
| 80 | } | 83 | } |
| 81 | return _weChatBtn; | 84 | return _weChatBtn; |
| 82 | } | 85 | } |
| @@ -85,12 +88,15 @@ | @@ -85,12 +88,15 @@ | ||
| 85 | { | 88 | { |
| 86 | if (!_sinaBtn) { | 89 | if (!_sinaBtn) { |
| 87 | _sinaBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 90 | _sinaBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 88 | - _sinaBtn.backgroundColor = [UIColor orangeColor]; | ||
| 89 | [_sinaBtn setFrame:CGRectMake(SpaceWidth*2+80, 70, 80, 40)]; | 91 | [_sinaBtn setFrame:CGRectMake(SpaceWidth*2+80, 70, 80, 40)]; |
| 90 | - _sinaBtn.layer.cornerRadius = 20; | ||
| 91 | - _sinaBtn.layer.masksToBounds = YES; | ||
| 92 | [_sinaBtn setTitle:@"微博" forState:UIControlStateNormal]; | 92 | [_sinaBtn setTitle:@"微博" forState:UIControlStateNormal]; |
| 93 | [_sinaBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; | 93 | [_sinaBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; |
| 94 | + _sinaBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 95 | + [_sinaBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 96 | + _sinaBtn.layer.cornerRadius = 20; | ||
| 97 | + _sinaBtn.layer.masksToBounds = YES; | ||
| 98 | + _sinaBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 99 | + _sinaBtn.layer.borderWidth = 1; | ||
| 94 | } | 100 | } |
| 95 | return _sinaBtn; | 101 | return _sinaBtn; |
| 96 | } | 102 | } |
| @@ -99,12 +105,15 @@ | @@ -99,12 +105,15 @@ | ||
| 99 | { | 105 | { |
| 100 | if (!_qqBtn) { | 106 | if (!_qqBtn) { |
| 101 | _qqBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 107 | _qqBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 102 | - _qqBtn.backgroundColor = [UIColor orangeColor]; | ||
| 103 | [_qqBtn setFrame:CGRectMake(SpaceWidth*3+80*2, 70, 80, 40)]; | 108 | [_qqBtn setFrame:CGRectMake(SpaceWidth*3+80*2, 70, 80, 40)]; |
| 104 | - _qqBtn.layer.cornerRadius = 20; | ||
| 105 | - _qqBtn.layer.masksToBounds = YES; | ||
| 106 | [_qqBtn setTitle:@"QQ" forState:UIControlStateNormal]; | 109 | [_qqBtn setTitle:@"QQ" forState:UIControlStateNormal]; |
| 107 | [_qqBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; | 110 | [_qqBtn addTarget:self action:@selector(thirdPartyBtnAction:) forControlEvents:UIControlEventTouchUpInside]; |
| 111 | + _qqBtn.titleLabel.font = [UIFont systemFontOfSize:18]; | ||
| 112 | + [_qqBtn setTitleColor:[UIColor colorWithRed:23/255.0 green:110/255.0 blue:254/255.0 alpha:1] forState:UIControlStateNormal]; | ||
| 113 | + _qqBtn.layer.cornerRadius = 20; | ||
| 114 | + _qqBtn.layer.masksToBounds = YES; | ||
| 115 | + _qqBtn.layer.borderColor = [UIColor blackColor].CGColor; | ||
| 116 | + _qqBtn.layer.borderWidth = 1; | ||
| 108 | } | 117 | } |
| 109 | return _qqBtn; | 118 | return _qqBtn; |
| 110 | } | 119 | } |
CNLiveUserSystemDemo/CNLiveUserSystemSDK.framework/Headers/CNLiveUserSystemCenter.h
| @@ -33,7 +33,13 @@ | @@ -33,7 +33,13 @@ | ||
| 33 | @param success 成功回调 | 33 | @param success 成功回调 |
| 34 | @param failure 失败回调 | 34 | @param failure 失败回调 |
| 35 | */ | 35 | */ |
| 36 | -+ (void)registerWithUserName:(NSString *)userName password:(NSString *)password verificationCode:(NSString *)verificationCode invitationCode:(NSString *)invitationCode frmId:(NSString *)frmId success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 36 | ++ (void)registerWithUserName:(NSString *)userName |
| 37 | + password:(NSString *)password | ||
| 38 | + verificationCode:(NSString *)verificationCode | ||
| 39 | + invitationCode:(NSString *)invitationCode | ||
| 40 | + frmId:(NSString *)frmId | ||
| 41 | + success:(void (^)(id result))success | ||
| 42 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 37 | 43 | ||
| 38 | 44 | ||
| 39 | /** | 45 | /** |
| @@ -48,7 +54,15 @@ | @@ -48,7 +54,15 @@ | ||
| 48 | @param success 成功回调 | 54 | @param success 成功回调 |
| 49 | @param failure 失败回调 | 55 | @param failure 失败回调 |
| 50 | */ | 56 | */ |
| 51 | -+ (void)thirdPartyLoginWithThirdPartyPlatType:(NSString *)plat thirdPartyId:(NSString *)thirdPartyId nickName:(NSString *)nickName gender:(NSString *)gender location:(NSString *)location faceUrl:(NSString *)faceUrl frmId:(NSString *)frmId success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 57 | ++ (void)thirdPartyLoginWithThirdPartyPlatType:(NSString *)plat |
| 58 | + thirdPartyId:(NSString *)thirdPartyId | ||
| 59 | + nickName:(NSString *)nickName | ||
| 60 | + gender:(NSString *)gender | ||
| 61 | + location:(NSString *)location | ||
| 62 | + faceUrl:(NSString *)faceUrl | ||
| 63 | + frmId:(NSString *)frmId | ||
| 64 | + success:(void (^)(id result))success | ||
| 65 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 52 | 66 | ||
| 53 | 67 | ||
| 54 | /** | 68 | /** |
| @@ -59,7 +73,11 @@ | @@ -59,7 +73,11 @@ | ||
| 59 | @param success 成功回调 | 73 | @param success 成功回调 |
| 60 | @param failure 失败回调 | 74 | @param failure 失败回调 |
| 61 | */ | 75 | */ |
| 62 | -+ (void)shortcutLoginWithUserName:(NSString *)userName verificationCode:(NSString *)verificationCode frmId:(NSString *)frmId success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 76 | ++ (void)shortcutLoginWithUserName:(NSString *)userName |
| 77 | + verificationCode:(NSString *)verificationCode | ||
| 78 | + frmId:(NSString *)frmId | ||
| 79 | + success:(void (^)(id result))success | ||
| 80 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 63 | 81 | ||
| 64 | 82 | ||
| 65 | /** | 83 | /** |
| @@ -70,7 +88,11 @@ | @@ -70,7 +88,11 @@ | ||
| 70 | @param success 成功回调 | 88 | @param success 成功回调 |
| 71 | @param failure 失败回调 | 89 | @param failure 失败回调 |
| 72 | */ | 90 | */ |
| 73 | -+ (void)loginWithUserName:(NSString *)userName password:(NSString *)password frmId:(NSString *)frmId success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 91 | ++ (void)loginWithUserName:(NSString *)userName |
| 92 | + password:(NSString *)password | ||
| 93 | + frmId:(NSString *)frmId | ||
| 94 | + success:(void (^)(id result))success | ||
| 95 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 74 | 96 | ||
| 75 | 97 | ||
| 76 | /** | 98 | /** |
| @@ -80,7 +102,10 @@ | @@ -80,7 +102,10 @@ | ||
| 80 | @param success 成功回调 | 102 | @param success 成功回调 |
| 81 | @param failure 失败回调 | 103 | @param failure 失败回调 |
| 82 | */ | 104 | */ |
| 83 | -+ (void)verificationCodeType:(VerificationCodeType)type mobile:(NSString *)mobile success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 105 | ++ (void)verificationCodeType:(VerificationCodeType)type |
| 106 | + mobile:(NSString *)mobile | ||
| 107 | + success:(void (^)(id result))success | ||
| 108 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 84 | 109 | ||
| 85 | 110 | ||
| 86 | /** | 111 | /** |
| @@ -90,7 +115,10 @@ | @@ -90,7 +115,10 @@ | ||
| 90 | @param success 成功回调 | 115 | @param success 成功回调 |
| 91 | @param failure 失败回调 | 116 | @param failure 失败回调 |
| 92 | */ | 117 | */ |
| 93 | -+ (void)updateOtherInfoWithUid:(NSString *)uid extInfo:(NSString *)extInfo success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 118 | ++ (void)updateOtherInfoWithUid:(NSString *)uid |
| 119 | + extInfo:(NSString *)extInfo | ||
| 120 | + success:(void (^)(id result))success | ||
| 121 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 94 | 122 | ||
| 95 | 123 | ||
| 96 | /** | 124 | /** |
| @@ -101,7 +129,11 @@ | @@ -101,7 +129,11 @@ | ||
| 101 | @param success 成功回调 | 129 | @param success 成功回调 |
| 102 | @param failure 失败回调 | 130 | @param failure 失败回调 |
| 103 | */ | 131 | */ |
| 104 | -+ (void)modifyUserInfoType:(UserInfoType)type uid:(NSString *)uid modifyInfo:(NSString *)info success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 132 | ++ (void)modifyUserInfoType:(UserInfoType)type |
| 133 | + uid:(NSString *)uid | ||
| 134 | + modifyInfo:(NSString *)info | ||
| 135 | + success:(void (^)(id result))success | ||
| 136 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 105 | 137 | ||
| 106 | 138 | ||
| 107 | /** | 139 | /** |
| @@ -112,7 +144,11 @@ | @@ -112,7 +144,11 @@ | ||
| 112 | @param success 成功回调 | 144 | @param success 成功回调 |
| 113 | @param failure 失败回调 | 145 | @param failure 失败回调 |
| 114 | */ | 146 | */ |
| 115 | -+ (void)updateMobileWithUid:(NSString *)uid mobile:(NSString *)mobile verificationCode:(NSString *)verificationCode success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 147 | ++ (void)updateMobileWithUid:(NSString *)uid |
| 148 | + mobile:(NSString *)mobile | ||
| 149 | + verificationCode:(NSString *)verificationCode | ||
| 150 | + success:(void (^)(id result))success | ||
| 151 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 116 | 152 | ||
| 117 | 153 | ||
| 118 | /** | 154 | /** |
| @@ -123,7 +159,11 @@ | @@ -123,7 +159,11 @@ | ||
| 123 | @param success 成功回调 | 159 | @param success 成功回调 |
| 124 | @param failure 失败回调 | 160 | @param failure 失败回调 |
| 125 | */ | 161 | */ |
| 126 | -+ (void)bindingThirdPartyWithUid:(NSString *)uid thirdPartyPlatType:(NSString *)plat thirdPartyId:(NSString *)thirdPartyId success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 162 | ++ (void)bindingThirdPartyWithUid:(NSString *)uid |
| 163 | + thirdPartyPlatType:(NSString *)plat | ||
| 164 | + thirdPartyId:(NSString *)thirdPartyId | ||
| 165 | + success:(void (^)(id result))success | ||
| 166 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 127 | 167 | ||
| 128 | 168 | ||
| 129 | /** | 169 | /** |
| @@ -134,7 +174,11 @@ | @@ -134,7 +174,11 @@ | ||
| 134 | @param success 成功回调 | 174 | @param success 成功回调 |
| 135 | @param failure 失败回调 | 175 | @param failure 失败回调 |
| 136 | */ | 176 | */ |
| 137 | -+ (void)changePasswordWithMobile:(NSString *)mobile verificationCode:(NSString *)verificationCode newPassword:(NSString *)newPassword success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 177 | ++ (void)changePasswordWithMobile:(NSString *)mobile |
| 178 | + verificationCode:(NSString *)verificationCode | ||
| 179 | + newPassword:(NSString *)newPassword | ||
| 180 | + success:(void (^)(id result))success | ||
| 181 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 138 | 182 | ||
| 139 | 183 | ||
| 140 | /** | 184 | /** |
| @@ -144,7 +188,10 @@ | @@ -144,7 +188,10 @@ | ||
| 144 | @param success 成功回调 | 188 | @param success 成功回调 |
| 145 | @param failure 失败回调 | 189 | @param failure 失败回调 |
| 146 | */ | 190 | */ |
| 147 | -+ (void)uploadIconWithUid:(NSString *)uid icon:(UIImage *)icon success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 191 | ++ (void)uploadIconWithUid:(NSString *)uid |
| 192 | + icon:(UIImage *)icon | ||
| 193 | + success:(void (^)(id result))success | ||
| 194 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 148 | 195 | ||
| 149 | 196 | ||
| 150 | /** | 197 | /** |
| @@ -154,7 +201,10 @@ | @@ -154,7 +201,10 @@ | ||
| 154 | @param success 成功回调 | 201 | @param success 成功回调 |
| 155 | @param failure 失败回调 | 202 | @param failure 失败回调 |
| 156 | */ | 203 | */ |
| 157 | -+ (void)queryUserInfoWithUid:(NSString *)uid srcUid:(NSString *)srcUid success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 204 | ++ (void)queryUserInfoWithUid:(NSString *)uid |
| 205 | + srcUid:(NSString *)srcUid | ||
| 206 | + success:(void (^)(id result))success | ||
| 207 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 158 | 208 | ||
| 159 | 209 | ||
| 160 | /** | 210 | /** |
| @@ -164,7 +214,10 @@ | @@ -164,7 +214,10 @@ | ||
| 164 | @param success 成功回调 | 214 | @param success 成功回调 |
| 165 | @param failure 失败回调 | 215 | @param failure 失败回调 |
| 166 | */ | 216 | */ |
| 167 | -+ (void)feedbackWithContentId:(NSString *)contentId message:(NSString *)message success:(void (^)(id result))success failure:(void (^)(NSDictionary *errorDic))failure; | 217 | ++ (void)feedbackWithContentId:(NSString *)contentId |
| 218 | + message:(NSString *)message | ||
| 219 | + success:(void (^)(id result))success | ||
| 220 | + failure:(void (^)(NSDictionary *errorDic))failure; | ||
| 168 | 221 | ||
| 169 | 222 | ||
| 170 | /** | 223 | /** |
CNLiveUserSystemDemo/touxiang.png
0 → 100644
6.29 KB