MRCodeView
示例
用法
func setupCodeView()
{
codeView.becomeFirstResponder()
codeView.delegate = self
codeView.codeLength = 5
codeView.textColor = .black
codeView.codeKeyboardType = .default
codeView.codeKeyboardStyle = .dark
codeView.lockUppercase = true
}
示例
要运行示例项目,请克隆仓库,然后先从 Example 目录运行 pod install
。
安装
MRCodeView 可通过 CocoaPods 获得。要安装它,只需将以下行添加到您的 Podfile 中
pod 'MRCodeView'
作者
Radu M.
授权
MRCodeView基于MIT授权。更多信息请参阅LICENSE文件。
上传新库版本步骤
1. Push to git
2. git tag 0.2.3
3. git push origin --tags
4. pod spec lint MRCodeView.podspec --verbose --allow-warnings
5. pod trunk push MRCodeView.podspec --allow-warnings