GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - VikramParimi/PasscodeLock: An iOS passcode lock library for inputting passcode and one time passwords with customisation properties

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
SimplePasscodeView.xcodeproj
SimplePasscodeView.xcodeproj
 
 
SimplePasscodeView
SimplePasscodeView
 
 
SimplePasscodeViewTests
SimplePasscodeViewTests
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SimplePasscodeView.podspec
SimplePasscodeView.podspec
 
 

Repository files navigation

SimplePasscodeView

GitHub GitHub GitHub

A Protocol-Oreinted Passcode component provides you with the flexibility of easy integration in your application and customization.

It allows both alphanumerics and emoji entry as passcode.

How it works

Usage

Via Cocoapods

  1. Add to your podfile:

pod 'SimplePasscodeView'

  1. In Terminal, navigate to your project folder, then:

pod update

pod install

First, import SimplePasscodeView and then declare passcodeView as a IBOutlet property:

import SimplePasscodeView

class ViewController: UIViewController {
@IBOutlet  weak  var passcode: SimplePasscodeView!
override func viewDidLoad() {
super.viewDidLoad()
passcodeView.delegate = self
}
}

extension ViewController: SimplePasscodeDelegate {
func didFinishEntering(_ passcode: String) {
//Do whatever you want
}
}

Drag and drop a UIView in your xib or storyboard and assign the custom class to SimplePasscodeView. Follow the steps below:

Customizable Properties

  • length - Pin length that is required. The empty circles will be rendered based on this
  • defaultSpacing - Spacing between each circle/pin.
  • secureEntry - Masking the entry either secure or not-secure.
  • pinfillColor - The color to fill when pin entry is received.( only for secure entry )
  • pinborderColor - The border color for the circular indicator.
  • pinfont - Font for pin text that is entered.( only if not secure entry )

Other customizable properties available.

Contributing

  • Star the repo if you would like to follow future updates

  • Please feel free to fork the repo and raise a pull request :)

Contact

  • For any queries drop an email to '[email protected]'

  • You can hire me if you need help with any mobile related work.

Thanks

Available as open source under the terms of the MIT License.

About

An iOS passcode lock library for inputting passcode and one time passwords with customisation properties

Topics

componentcustomiosios-libpasscodepasscode-authenticationpasscodelockpasswordswiftswift4touchid

Resources

Readme
MIT license
Activity

Stars

13 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.