Skip to content

Commit

Permalink
update to 0.1.0
Browse files Browse the repository at this point in the history
1. support use Touch ID turn password off;
2. support use Touch ID change password;
3. add parallax effect for password circle views;
  • Loading branch information
liu044100 committed Jul 18, 2015
1 parent 02ef7d9 commit 91309bd
Show file tree
Hide file tree
Showing 41 changed files with 471 additions and 553 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ platform :ios, '7.0'

target 'Smile TouchID' do

#pod 'SmileTouchID', :path => '~/Documents/developer_learning/Security/SmileTouchID'
pod 'SmileTouchID', :path => "../"

pod 'SmileTouchID'
#pod 'SmileTouchID'

end

Expand Down
6 changes: 5 additions & 1 deletion Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ PODS:
- SmileTouchID (0.0.9)

DEPENDENCIES:
- SmileTouchID
- SmileTouchID (from `../`)

EXTERNAL SOURCES:
SmileTouchID:
:path: "../"

SPEC CHECKSUMS:
SmileTouchID: 61734cfca9587bbe7347d5a713cae0e3dfd5abf9
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion Example/Pods/Headers/Private/SmileTouchID/SmileSettingVC.h

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion Example/Pods/Headers/Public/SmileTouchID/SmileSettingVC.h

This file was deleted.

4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/SmileTouchID.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

443 changes: 238 additions & 205 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions Example/TouchID/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

[SmileAuthenticator sharedInstance].rootVC = self.window.rootViewController;

//the reason for use Touch ID
[SmileAuthenticator sharedInstance].localizedReason = NSLocalizedString(@"SMILE_REASON", nil);

//customize
[SmileAuthenticator sharedInstance].passcodeDigit = 6;
[SmileAuthenticator sharedInstance].tintColor = [UIColor purpleColor];
Expand Down
4 changes: 2 additions & 2 deletions Example/TouchID/Base.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
INPUT_THREE
*/
"SMILE_INPUT_THREE_TITLE" = "Change Passcode";
"SMILE_INPUT_THREE_STEP_1" = "Enter your new %ld digit Passcode";
"SMILE_INPUT_THREE_STEP_2" = "Enter your old %ld digit Passcode";
"SMILE_INPUT_THREE_STEP_1_DESCRIPTION" = "Enter your old %ld digit Passcode";
"SMILE_INPUT_THREE_STEP_2_DESCRIPTION" = "Enter your new %ld digit Passcode";
14 changes: 13 additions & 1 deletion Example/TouchID/SmileMainVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "SmileMainVC.h"
#import "SmileAuthenticator.h"

@interface SmileMainVC () <AuthenticatorDelegate>
@interface SmileMainVC () <SmileAuthenticatorDelegate>
@property (weak, nonatomic) IBOutlet UISwitch *mySwitch;
@property (weak, nonatomic) IBOutlet UIButton *changePasswordButton;

Expand Down Expand Up @@ -70,6 +70,18 @@ -(void)userSuccessAuthentication{
NSLog(@"userSuccessAuthentication");
}

-(void)userTurnPasswordOn{
NSLog(@"userTurnPasswordOn");
}

-(void)userTurnPasswordOff{
NSLog(@"userTurnPasswordOff");
}

-(void)userChangePassword{
NSLog(@"userChangePassword");
}

-(void)AuthViewControllerPresented{
NSLog(@"presentAuthViewController");
}
Expand Down
Binary file removed Example/demo_gif/ios7.png
Binary file not shown.
Binary file removed Example/demo_video/demo1.mov
Binary file not shown.
Binary file removed Example/demo_video/demo2.mov
Binary file not shown.
Binary file removed Example/demo_video/demo3.mov
Binary file not shown.
Binary file removed Example/demo_video/demo_full.mov
Binary file not shown.
Loading

0 comments on commit 91309bd

Please sign in to comment.