Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matghazaryan/swiftycodeview
Fully customizable UI Component for verification codes written in swift with RxSwift support!
https://github.com/matghazaryan/swiftycodeview
code ios iphone mobile mobile-number password phone phonenumber pin swift verification verification-codes xcode
Last synced: 3 months ago
JSON representation
Fully customizable UI Component for verification codes written in swift with RxSwift support!
- Host: GitHub
- URL: https://github.com/matghazaryan/swiftycodeview
- Owner: matghazaryan
- License: mit
- Created: 2018-06-29T20:59:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T03:05:30.000Z (over 1 year ago)
- Last Synced: 2024-10-30T19:06:57.866Z (3 months ago)
- Topics: code, ios, iphone, mobile, mobile-number, password, phone, phonenumber, pin, swift, verification, verification-codes, xcode
- Language: Swift
- Homepage:
- Size: 1.02 MB
- Stars: 90
- Watchers: 6
- Forks: 30
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftyCodeView
[![Version](https://img.shields.io/cocoapods/v/SwiftyCodeView.svg?style=flat)](https://cocoapods.org/pods/SwiftyCodeView)
[![License](https://img.shields.io/cocoapods/l/SwiftyCodeView.svg?style=flat)](https://cocoapods.org/pods/SwiftyCodeView)
[![Platform](https://img.shields.io/cocoapods/p/SwiftyCodeView.svg?style=flat)](https://cocoapods.org/pods/SwiftyCodeView)SwiftyCodeView is an elegant and customizable UI component which can be used as input field for verification codes, password, etc...
## Usage
Drag a UIView object into storyboard and set it's class to SwiftCodeView.
Implement SwiftyCodeViewDelegate protocol.
Thats it!```Swift
extension ViewController: SwiftyCodeViewDelegate {
func codeView(sender: SwiftyCodeView, didFinishInput code: String) -> Bool {
print("Entered code: ", code)
return true
}
}
```## Customization
Things you can customize - Everything! (See example project)## Requirements
iOS >= 9.3
Xcode >= 9.0## Installation
SwiftyCodeView is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'SwiftyCodeView'# or
pod 'SwiftyCodeView/RxSwift'
```
## Author
arturdev, [email protected]
Feel free to open issues, feature requests and point bugs/mistakes!
## License
SwiftyCodeView is available under the MIT license. See the LICENSE file for more info.