yankodimitrov / SwiftPasscodeLock

An iOS passcode lock with TouchID authentication written in Swift.
MIT License
680 stars 264 forks source link

Add cocoapods support #8

Closed ziogaschr closed 9 years ago

ziogaschr commented 9 years ago

Hello @yankodimitrov. Thanks for the great work you've done so far in this lib.

I have added cocoapods support. I left your PasscodeKeychainRepository and PasscodeNSUserDefaultsRepository out, as I think that there is no need for someone to load them both in his code and this will be different for each app.

I was thinking that you might want to create a second pod, like SwiftPasscodeLockFull, that will include them. Which I don't really like as an idea.

Please check everything in .podspec, like version and license.

ziogaschr commented 9 years ago

Actually it might worth also removing the viewController. But then for some devs, it might be hard to use the library.

ziogaschr commented 9 years ago

I will close it for now as I have made this pull request in master branch and I can't continue. I will branch it, and make a PR again. I also solved issue #4.