jrendel / SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
MIT License
1.59k stars 340 forks source link

Use of SwiftKeychainWrapper from Objective C #100

Open alcamla opened 7 years ago

alcamla commented 7 years ago

I have been using your library in a swift based project. Recently, I required to use some objective C code in this project, and I need the SwiftKeychainWrapper functionality on the Objective C side. A requirement to use Swift classes on Objective C is that those classes inherit from NSObject. I managed to to that, but as I integrate your library with cocoa Pods, I had to break the imported code... Is it posible to integrate this as a feature in the repo, so I don't need to alter the cocoapod dependency?

SaavyGirl commented 4 years ago

I have been using your library in a swift based project. Recently, I required to use some objective C code in this project, and I need the SwiftKeychainWrapper functionality on the Objective C side. A requirement to use Swift classes on Objective C is that those classes inherit from NSObject. I managed to to that, but as I integrate your library with cocoa Pods, I had to break the imported code... Is it posible to integrate this as a feature in the repo, so I don't need to alter the cocoapod dependency?

SaavyGirl commented 4 years ago

160 inprove on keychain wrapper.

.