File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 26
26
#import " OTPSegmentedControlCell.h"
27
27
#import " OTPTextFieldCell.h"
28
28
#import < OneTimePassword/OneTimePassword.h>
29
- #import < Base32/MF_Base32Additions.h>
30
29
31
30
32
31
typedef enum : NSUInteger {
@@ -123,7 +122,7 @@ - (void)createToken
123
122
{
124
123
if (!self.formIsValid ) return ;
125
124
126
- NSData *secret = [NSData dataWithBase32String :self .secretKeyCell.textField.text];
125
+ NSData *secret = [NSData secretWithString :self .secretKeyCell.textField.text];
127
126
128
127
if (secret.length ) {
129
128
OTPTokenType tokenType = (self.tokenTypeCell .segmentedControl .selectedSegmentIndex == OTPTokenTypeIndexTimer) ? OTPTokenTypeTimer : OTPTokenTypeCounter;
Original file line number Diff line number Diff line change 1
1
platform :ios , '7.0'
2
2
3
- pod 'OneTimePassword' , '~> 1.0 '
3
+ pod 'OneTimePassword' , '~> 1.1 '
4
4
pod 'SVProgressHUD' , '~> 1.0'
5
5
pod 'UIColor+Categories' , '~> 0.2'
6
6
Original file line number Diff line number Diff line change 1
1
PODS:
2
2
- Base32 (1.0.2)
3
- - OneTimePassword (1.0 .0):
3
+ - OneTimePassword (1.1 .0):
4
4
- Base32 (~> 1.0.2)
5
5
- SVProgressHUD (1.0)
6
6
- UIColor+Categories (0.2)
7
7
8
8
DEPENDENCIES:
9
- - OneTimePassword (~> 1.0 )
9
+ - OneTimePassword (~> 1.1 )
10
10
- SVProgressHUD (~> 1.0)
11
11
- UIColor+Categories (~> 0.2)
12
12
13
13
SPEC CHECKSUMS:
14
14
Base32: a0ef6e90e721130c474cc970a4d98a6cbf16ce85
15
- OneTimePassword: 5948ec8303247b449532fc553f7e01defc0e72e6
15
+ OneTimePassword: d08289f18a0e23a238f5adcfabb3269bbf7eb1f7
16
16
SVProgressHUD: 5034c6e22b8c2ca3e09402e48d41ed0340aa1c50
17
17
UIColor+Categories: 9770206090196452ff5d115b3e3dbdfcdedbc2f3
18
18
You can’t perform that action at this time.
0 commit comments