Skip to content
AppLocker - simple lock screen for iOS Application ( Swift 3, iOS 8.0+) Touch ID / Face ID
Branch: master
Clone or download
Pull request Compare This branch is 20 commits behind Ryasnoy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PasscodeLock
AppLockerLogo.png
LICENSE
README.md
preview.png

README.md

Swift License Platform Twitter

AppLocker

Very simple locker for your iOS application

Preview

Modes

enum ALMode { // Modes for AppLocker
  case validate
  case change
  case deactive
  case create
}

Configuration

struct ALAppearance { // The structure used to display the controller
  var title: String?
  var subtitle: String?
  var image: UIImage?
  var color: UIColor?
  var isSensorsEnabled: Bool?
}

Example

Simple call of controller

AppLocker.present(with: .create) // validate, desactive, change

Calling the controller with configuration

    var appearance = ALAppearance()
    appearance.image = UIImage(named: "face")!
    appearance.title = "Devios Ryasnoy"
    appearance.isSensorsEnabled = true

    AppLocker.present(with: mode, and: appearance)

Requirements

AppLocker is written in Swift 3. iOS 8.0+ Required

Installation

Just move the Source folder to your project

Author

Oleg Ryasnoy, ryasnoy.oleg@gmail.com

Telegram: https://t.me/ryasnoy

License

AppLocker is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.