CHIOTPField requires iOS 10.0+ and Swift 5. You can install it using one of the following methods:
CocoaPods
Add the following to your Podfile. You can install the full library or specific field types for individual page control:
# Full library
pod 'CHIOTPField', '~> 0.1'
# Individual page control (specific field types)
pod 'CHIOTPField/One'
pod 'CHIOTPField/Two'
pod 'CHIOTPField/Three'
pod 'CHIOTPField/Four'
Swift Package Manager
Add the repository URL to your project dependencies:
dependencies: [
.package(url: "https://github.com/ChiliLabs/CHIOTPField.git", .upToNextMajor(from: "0.1"))
]
Manual Installation
Add the Sources folder directly to your Xcode project.
pod 'CHIOTPField', '~> 0.1'
# individual page control
pod 'CHIOTPField/One'
pod 'CHIOTPField/Two'
pod 'CHIOTPField/Three'
pod 'CHIOTPField/Four'