Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
relatedcode committed Apr 7, 2021
1 parent c1d216e commit f0a1d22
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion PasscodeKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PasscodeKit'
s.version = '1.0.0'
s.version = '1.0.1'
s.license = 'MIT'

s.summary = 'A lightweight and easy-to-use Passcode Kit for iOS.'
Expand Down
44 changes: 22 additions & 22 deletions PasscodeKit/Sources/PasscodeKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ public class PasscodeKit: NSObject {
return instance
}()

static var passcodeLength = 4
static var allowedFailedAttempts = 3

static var textColor = UIColor.darkText
static var backgroundColor = UIColor.lightGray

static var failedTextColor = UIColor.white
static var failedBackgroundColor = UIColor.systemRed

static var titleEnterPasscode = "Enter Passcode"
static var titleCreatePasscode = "Create Passcode"
static var titleChangePasscode = "Change Passcode"
static var titleRemovePasscode = "Remove Passcode"

static var textEnterPasscode = "Enter your passcode"
static var textVerifyPasscode = "Verify your passcode"
static var textEnterOldPasscode = "Enter your old passcode"
static var textEnterNewPasscode = "Enter your new passcode"
static var textVerifyNewPasscode = "Verify your new passcode"
static var textFailedPasscode = "%d Failed Passcode Attempts"
static var textPasscodeMismatch = "Passcodes did not match. Try again."
static var textTouchIDAccessReason = "Please use Touch ID to unlock the app"
public static var passcodeLength = 4
public static var allowedFailedAttempts = 3

public static var textColor = UIColor.darkText
public static var backgroundColor = UIColor.lightGray

public static var failedTextColor = UIColor.white
public static var failedBackgroundColor = UIColor.systemRed

public static var titleEnterPasscode = "Enter Passcode"
public static var titleCreatePasscode = "Create Passcode"
public static var titleChangePasscode = "Change Passcode"
public static var titleRemovePasscode = "Remove Passcode"

public static var textEnterPasscode = "Enter your passcode"
public static var textVerifyPasscode = "Verify your passcode"
public static var textEnterOldPasscode = "Enter your old passcode"
public static var textEnterNewPasscode = "Enter your new passcode"
public static var textVerifyNewPasscode = "Verify your new passcode"
public static var textFailedPasscode = "%d Failed Passcode Attempts"
public static var textPasscodeMismatch = "Passcodes did not match. Try again."
public static var textTouchIDAccessReason = "Please use Touch ID to unlock the app"

public static var delegate: PasscodeKitDelegate?

Expand Down
4 changes: 2 additions & 2 deletions PasscodeKit/app.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
INFOPLIST_FILE = app/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.passcodekit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -364,7 +364,7 @@
INFOPLIST_FILE = app/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.passcodekit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1

0 comments on commit f0a1d22

Please sign in to comment.