Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

abury/ABPadLockScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c39c6ff · Aug 13, 2018
Sep 13, 2015
Aug 1, 2018
Aug 1, 2018
Aug 25, 2016
Jan 18, 2014
Aug 1, 2018
Aug 10, 2018
Jan 18, 2014
Aug 13, 2018

Repository files navigation

ABLogo

Twitter: @AronBury License Build Status Version

ABPadLockScreen aims to provide a universal solution to providing a secure keypad/pin lock screen to your iPhone or iPad app. With just a few lines you can have a full lock screen module ready to go.

Features

  • Supports iPhone and iPad
  • Allows the user to set their PIN
  • Optional PIN entry limit
  • Optional cancel button
  • Optional text modification
  • Optional pin length (default is 4)
  • Full appearance customisation

screenshot

Installation with CocoaPods

CocoaPods is the easiest way to manage your iOS/OSX dependencies. Check out their getting started guide to see how to set it up. If you have cocoapods setup on your machine, simply set the spec like this:

Podfile

platform :ios, '6.0'
pod "ABPadLockScreen", "~> 3.4.2"

The earliest version of this framework that supports cocoapods is 3.0.0

Customising the Appearance

The module is entirely customisable through UIAppearance. All colours and fonts used within the module can be set using the UIAppearance proxy. The example project shows how to do this, but for a more in depth look at UIAppearance check out the docs check out the docs or check out Matt Thompson’s article on NSHipster

Custom Text

Locked out

Contributing

I love seeing people contribute to the ABPadLockscreen. It's had some great new features already contributed by some talented folks. If you want to contribute please issue a pull request to the develop branch of this repository. I'll review them and if it looks good we'll merge and push it in the next release!

License

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