FormatTextField 0.1.2

FormatTextField 0.1.2

测试已测试
语言语言 SwiftSwift
许可协议 MIT
发布最新发布2017年11月
SwiftSwift 版本4.0
SPM支持 SPM

Anthony Dito 维护。



  • Anthony Dito

FormatTextField

CI Status
Version
License
Platform

示例

要运行示例项目,先克隆仓库,然后从 Example 目录中运行 pod install

安装

FormatTextField 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
使用方法

pod 'FormatTextField'

inputType 的选项如下

import FormatTextField

var textField = FormatTextField()
textField.inputType = .phone

phone:格式化电话号码,例如 (123) 456-7890

  • currecy:带有给定货币符号的货币格式,例如 $1,234
  • email:作为电子邮件验证
  • 演示

作者

alt text

Anthony Dito, [email protected]

FormatTextField 在 MIT 许可协议下可用。有关更多信息,请参阅 LICENSE 文件。

许可协议

CocoaPods 是由以下项目贡献的