Commit 1d4537db0dae2afd7234df18f65903030eabbc7f
1 parent
0e7c13be
no message
Showing
4 changed files
with
21 additions
and
26 deletions
CNLiveLoginModule/Classes/View/CNLiveLoginView.m
| @@ -233,7 +233,7 @@ static const NSInteger timeValue = 1.5; | @@ -233,7 +233,7 @@ static const NSInteger timeValue = 1.5; | ||
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | } | 235 | } |
| 236 | -#pragma mark - XWCountDownButton DataSource | 236 | +#pragma mark - CNLiveCountDownButton DataSource |
| 237 | // 设置倒计时总秒数 | 237 | // 设置倒计时总秒数 |
| 238 | - (NSInteger)startCountDownNumOfCountDownButton:(CNLiveCountDownButton *)countdownButton { | 238 | - (NSInteger)startCountDownNumOfCountDownButton:(CNLiveCountDownButton *)countdownButton { |
| 239 | return 60; | 239 | return 60; |
| @@ -303,7 +303,6 @@ static const NSInteger timeValue = 1.5; | @@ -303,7 +303,6 @@ static const NSInteger timeValue = 1.5; | ||
| 303 | #pragma mark - Action | 303 | #pragma mark - Action |
| 304 | - (void)loginDidClicked:(UIButton *)btn{ | 304 | - (void)loginDidClicked:(UIButton *)btn{ |
| 305 | //登录 | 305 | //登录 |
| 306 | - _verificationCode = @"666666"; | ||
| 307 | if ([_account.text isEqualToString:@""]) { | 306 | if ([_account.text isEqualToString:@""]) { |
| 308 | [QMUITips showError:@"请输入手机号" inView:self.superview hideAfterDelay:timeValue]; | 307 | [QMUITips showError:@"请输入手机号" inView:self.superview hideAfterDelay:timeValue]; |
| 309 | return; | 308 | return; |
Example/CNLiveLoginModule.xcodeproj/project.pbxproj
| @@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
| 40 | 11F04E11320E8360C5B3A0D7 /* Pods-CNLiveLoginModule_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveLoginModule_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveLoginModule_Example/Pods-CNLiveLoginModule_Example.release.xcconfig"; sourceTree = "<group>"; }; | 40 | 11F04E11320E8360C5B3A0D7 /* Pods-CNLiveLoginModule_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveLoginModule_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveLoginModule_Example/Pods-CNLiveLoginModule_Example.release.xcconfig"; sourceTree = "<group>"; }; |
| 41 | 3457C6EFE3087351070CCD15 /* Pods-CNLiveLoginModule_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveLoginModule_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveLoginModule_Tests/Pods-CNLiveLoginModule_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | 41 | 3457C6EFE3087351070CCD15 /* Pods-CNLiveLoginModule_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveLoginModule_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveLoginModule_Tests/Pods-CNLiveLoginModule_Tests.debug.xcconfig"; sourceTree = "<group>"; }; |
| 42 | 4B28CE499406DB37965D8485 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; | 42 | 4B28CE499406DB37965D8485 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; |
| 43 | - 6003F58A195388D20070C39A /* CNLiveLoginModule_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveLoginModule_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 43 | + 6003F58A195388D20070C39A /* 登录模块.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "登录模块.app"; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 44 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | 44 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
| 45 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | 45 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
| 46 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | 46 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; |
| @@ -121,7 +121,7 @@ | @@ -121,7 +121,7 @@ | ||
| 121 | 6003F58B195388D20070C39A /* Products */ = { | 121 | 6003F58B195388D20070C39A /* Products */ = { |
| 122 | isa = PBXGroup; | 122 | isa = PBXGroup; |
| 123 | children = ( | 123 | children = ( |
| 124 | - 6003F58A195388D20070C39A /* CNLiveLoginModule_Example.app */, | 124 | + 6003F58A195388D20070C39A /* 登录模块.app */, |
| 125 | 6003F5AE195388D20070C39A /* CNLiveLoginModule_Tests.xctest */, | 125 | 6003F5AE195388D20070C39A /* CNLiveLoginModule_Tests.xctest */, |
| 126 | ); | 126 | ); |
| 127 | name = Products; | 127 | name = Products; |
| @@ -216,7 +216,7 @@ | @@ -216,7 +216,7 @@ | ||
| 216 | ); | 216 | ); |
| 217 | name = CNLiveLoginModule_Example; | 217 | name = CNLiveLoginModule_Example; |
| 218 | productName = CNLiveLoginModule; | 218 | productName = CNLiveLoginModule; |
| 219 | - productReference = 6003F58A195388D20070C39A /* CNLiveLoginModule_Example.app */; | 219 | + productReference = 6003F58A195388D20070C39A /* 登录模块.app */; |
| 220 | productType = "com.apple.product-type.application"; | 220 | productType = "com.apple.product-type.application"; |
| 221 | }; | 221 | }; |
| 222 | 6003F5AD195388D20070C39A /* CNLiveLoginModule_Tests */ = { | 222 | 6003F5AD195388D20070C39A /* CNLiveLoginModule_Tests */ = { |
| @@ -547,8 +547,8 @@ | @@ -547,8 +547,8 @@ | ||
| 547 | GCC_PREFIX_HEADER = "CNLiveLoginModule/CNLiveLoginModule-Prefix.pch"; | 547 | GCC_PREFIX_HEADER = "CNLiveLoginModule/CNLiveLoginModule-Prefix.pch"; |
| 548 | INFOPLIST_FILE = "CNLiveLoginModule/CNLiveLoginModule-Info.plist"; | 548 | INFOPLIST_FILE = "CNLiveLoginModule/CNLiveLoginModule-Info.plist"; |
| 549 | MODULE_NAME = ExampleApp; | 549 | MODULE_NAME = ExampleApp; |
| 550 | - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 551 | - PRODUCT_NAME = "$(TARGET_NAME)"; | 550 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveLoginModule; |
| 551 | + PRODUCT_NAME = "登录模块"; | ||
| 552 | SWIFT_VERSION = 4.0; | 552 | SWIFT_VERSION = 4.0; |
| 553 | WRAPPER_EXTENSION = app; | 553 | WRAPPER_EXTENSION = app; |
| 554 | }; | 554 | }; |
| @@ -564,8 +564,8 @@ | @@ -564,8 +564,8 @@ | ||
| 564 | GCC_PREFIX_HEADER = "CNLiveLoginModule/CNLiveLoginModule-Prefix.pch"; | 564 | GCC_PREFIX_HEADER = "CNLiveLoginModule/CNLiveLoginModule-Prefix.pch"; |
| 565 | INFOPLIST_FILE = "CNLiveLoginModule/CNLiveLoginModule-Info.plist"; | 565 | INFOPLIST_FILE = "CNLiveLoginModule/CNLiveLoginModule-Info.plist"; |
| 566 | MODULE_NAME = ExampleApp; | 566 | MODULE_NAME = ExampleApp; |
| 567 | - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 568 | - PRODUCT_NAME = "$(TARGET_NAME)"; | 567 | + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.CNLiveNetAdd.CNLiveLoginModule; |
| 568 | + PRODUCT_NAME = "登录模块"; | ||
| 569 | SWIFT_VERSION = 4.0; | 569 | SWIFT_VERSION = 4.0; |
| 570 | WRAPPER_EXTENSION = app; | 570 | WRAPPER_EXTENSION = app; |
| 571 | }; | 571 | }; |
Example/CNLiveLoginModule.xcodeproj/xcshareddata/xcschemes/CNLiveLoginModule-Example.xcscheme
| @@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
| 15 | <BuildableReference | 15 | <BuildableReference |
| 16 | BuildableIdentifier = "primary" | 16 | BuildableIdentifier = "primary" |
| 17 | BlueprintIdentifier = "6003F589195388D20070C39A" | 17 | BlueprintIdentifier = "6003F589195388D20070C39A" |
| 18 | - BuildableName = "CNLiveLoginModule_Example.app" | 18 | + BuildableName = "登录模块.app" |
| 19 | BlueprintName = "CNLiveLoginModule_Example" | 19 | BlueprintName = "CNLiveLoginModule_Example" |
| 20 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> | 20 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> |
| 21 | </BuildableReference> | 21 | </BuildableReference> |
| @@ -27,6 +27,15 @@ | @@ -27,6 +27,15 @@ | ||
| 27 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | 27 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" |
| 28 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | 28 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" |
| 29 | shouldUseLaunchSchemeArgsEnv = "YES"> | 29 | shouldUseLaunchSchemeArgsEnv = "YES"> |
| 30 | + <MacroExpansion> | ||
| 31 | + <BuildableReference | ||
| 32 | + BuildableIdentifier = "primary" | ||
| 33 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 34 | + BuildableName = "登录模块.app" | ||
| 35 | + BlueprintName = "CNLiveLoginModule_Example" | ||
| 36 | + ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> | ||
| 37 | + </BuildableReference> | ||
| 38 | + </MacroExpansion> | ||
| 30 | <Testables> | 39 | <Testables> |
| 31 | <TestableReference | 40 | <TestableReference |
| 32 | skipped = "NO"> | 41 | skipped = "NO"> |
| @@ -39,17 +48,6 @@ | @@ -39,17 +48,6 @@ | ||
| 39 | </BuildableReference> | 48 | </BuildableReference> |
| 40 | </TestableReference> | 49 | </TestableReference> |
| 41 | </Testables> | 50 | </Testables> |
| 42 | - <MacroExpansion> | ||
| 43 | - <BuildableReference | ||
| 44 | - BuildableIdentifier = "primary" | ||
| 45 | - BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 46 | - BuildableName = "CNLiveLoginModule_Example.app" | ||
| 47 | - BlueprintName = "CNLiveLoginModule_Example" | ||
| 48 | - ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> | ||
| 49 | - </BuildableReference> | ||
| 50 | - </MacroExpansion> | ||
| 51 | - <AdditionalOptions> | ||
| 52 | - </AdditionalOptions> | ||
| 53 | </TestAction> | 51 | </TestAction> |
| 54 | <LaunchAction | 52 | <LaunchAction |
| 55 | buildConfiguration = "Debug" | 53 | buildConfiguration = "Debug" |
| @@ -66,13 +64,11 @@ | @@ -66,13 +64,11 @@ | ||
| 66 | <BuildableReference | 64 | <BuildableReference |
| 67 | BuildableIdentifier = "primary" | 65 | BuildableIdentifier = "primary" |
| 68 | BlueprintIdentifier = "6003F589195388D20070C39A" | 66 | BlueprintIdentifier = "6003F589195388D20070C39A" |
| 69 | - BuildableName = "CNLiveLoginModule_Example.app" | 67 | + BuildableName = "登录模块.app" |
| 70 | BlueprintName = "CNLiveLoginModule_Example" | 68 | BlueprintName = "CNLiveLoginModule_Example" |
| 71 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> | 69 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> |
| 72 | </BuildableReference> | 70 | </BuildableReference> |
| 73 | </BuildableProductRunnable> | 71 | </BuildableProductRunnable> |
| 74 | - <AdditionalOptions> | ||
| 75 | - </AdditionalOptions> | ||
| 76 | </LaunchAction> | 72 | </LaunchAction> |
| 77 | <ProfileAction | 73 | <ProfileAction |
| 78 | buildConfiguration = "Release" | 74 | buildConfiguration = "Release" |
| @@ -85,7 +81,7 @@ | @@ -85,7 +81,7 @@ | ||
| 85 | <BuildableReference | 81 | <BuildableReference |
| 86 | BuildableIdentifier = "primary" | 82 | BuildableIdentifier = "primary" |
| 87 | BlueprintIdentifier = "6003F589195388D20070C39A" | 83 | BlueprintIdentifier = "6003F589195388D20070C39A" |
| 88 | - BuildableName = "CNLiveLoginModule_Example.app" | 84 | + BuildableName = "登录模块.app" |
| 89 | BlueprintName = "CNLiveLoginModule_Example" | 85 | BlueprintName = "CNLiveLoginModule_Example" |
| 90 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> | 86 | ReferencedContainer = "container:CNLiveLoginModule.xcodeproj"> |
| 91 | </BuildableReference> | 87 | </BuildableReference> |
Example/CNLiveLoginModule/CNLiveLoginModule-Info.plist
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | <key>CFBundleDevelopmentRegion</key> | 5 | <key>CFBundleDevelopmentRegion</key> |
| 6 | <string>en</string> | 6 | <string>en</string> |
| 7 | <key>CFBundleDisplayName</key> | 7 | <key>CFBundleDisplayName</key> |
| 8 | - <string>${PRODUCT_NAME}</string> | 8 | + <string>$(PRODUCT_NAME)</string> |
| 9 | <key>CFBundleExecutable</key> | 9 | <key>CFBundleExecutable</key> |
| 10 | <string>${EXECUTABLE_NAME}</string> | 10 | <string>${EXECUTABLE_NAME}</string> |
| 11 | <key>CFBundleIdentifier</key> | 11 | <key>CFBundleIdentifier</key> |