yankodimitrov / SwiftPasscodeLock

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

Make `PasscodeViewController` a Singleton instance #12

Closed ziogaschr closed 9 years ago

ziogaschr commented 9 years ago

It might be helpful to make PasscodeViewController a singleton so as we can easily ask for the Lock screen in a single line when needed. Also it will be easier to support methods like isLockscreenDisplayed.

All this are easy to be handled in an app, but I was wondering if you like them in the lib, so as it will be easier for smaller projects to handle things.

yankodimitrov commented 9 years ago

I don't think that the PasscodeLockViewController need to be a Singleton.