From e213363e6b5cd6572e8a87e69258d5f84d275144 Mon Sep 17 00:00:00 2001 From: Adam Law Date: Sun, 5 Aug 2018 13:26:09 +0100 Subject: [PATCH] * Marked up `KeychainSwiftAccessOptions` with a `@objc` annotation and made an integer raw type so this enum can be used when bridging in Objective-C. --- Sources/KeychainSwiftAccessOptions.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/KeychainSwiftAccessOptions.swift b/Sources/KeychainSwiftAccessOptions.swift index 94709d6..8714e66 100644 --- a/Sources/KeychainSwiftAccessOptions.swift +++ b/Sources/KeychainSwiftAccessOptions.swift @@ -1,3 +1,4 @@ +import Foundation import Security /** @@ -5,7 +6,8 @@ import Security These options are used to determine when a keychain item should be readable. The default value is AccessibleWhenUnlocked. */ -public enum KeychainSwiftAccessOptions { +@objc +public enum KeychainSwiftAccessOptions: Int { /**