Browse Source

Update pod version

Evgenii Neumerzhitckii 9 years ago
parent
commit
cc17b81773
3 changed files with 6 additions and 7 deletions
  1. 4 0
      CHANGELOG.md
  2. 1 6
      Distrib/KeychainSwiftDistrib.swift
  3. 1 1
      KeychainSwift.podspec

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # KeychainSwift version history
 # KeychainSwift version history
 
 
+## 3.0.12 (2016-04-15)
+
+Added iOS 7 support.
+
 ## 3.0.11 (2016-01-24)
 ## 3.0.11 (2016-01-24)
 
 
 Added methods for setting/getting booleans.
 Added methods for setting/getting booleans.

+ 1 - 6
Distrib/KeychainSwiftDistrib.swift

@@ -314,7 +314,6 @@ public enum KeychainSwiftAccessOptions {
   This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
   This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
   
   
   */
   */
-  @available(iOS 8, *)
   case AccessibleWhenPasscodeSetThisDeviceOnly
   case AccessibleWhenPasscodeSetThisDeviceOnly
   
   
   /**
   /**
@@ -348,11 +347,7 @@ public enum KeychainSwiftAccessOptions {
       return toString(kSecAttrAccessibleAlways)
       return toString(kSecAttrAccessibleAlways)
       
       
     case .AccessibleWhenPasscodeSetThisDeviceOnly:
     case .AccessibleWhenPasscodeSetThisDeviceOnly:
-      if #available(iOS 8.0, *) {
-        return toString(kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
-      } else {
-        fatalError("'kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly' is only available on iOS 8.0 or newer")
-      }
+      return toString(kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
       
       
     case .AccessibleAlwaysThisDeviceOnly:
     case .AccessibleAlwaysThisDeviceOnly:
       return toString(kSecAttrAccessibleAlwaysThisDeviceOnly)
       return toString(kSecAttrAccessibleAlwaysThisDeviceOnly)

+ 1 - 1
KeychainSwift.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
 Pod::Spec.new do |s|
   s.name        = "KeychainSwift"
   s.name        = "KeychainSwift"
-  s.version     = "3.0.11"
+  s.version     = "3.0.12"
   s.license     = { :type => "MIT" }
   s.license     = { :type => "MIT" }
   s.homepage    = "https://github.com/marketplacer/keychain-swift"
   s.homepage    = "https://github.com/marketplacer/keychain-swift"
   s.summary     = "A library for saving text and data in the Keychain with Swift."
   s.summary     = "A library for saving text and data in the Keychain with Swift."