MMText
示例
参数
public var lineType: MMText.MMTextField.LineType
public var inputViewStyle: MMText.InputViewStyle
@IBInspectable public var titleFromPlaceHolder: Bool
@IBInspectable public var title: String?
public var attributeTitle: NSAttributedString?
@IBInspectable public var titleMargin: CGFloat
@IBInspectable public var titleColor: UIColor
@IBInspectable public var errorTitle: String?
public var errorAttributeTitle: NSAttributedString?
@IBInspectable public var errorMargin: CGFloat
@IBInspectable public var errorColor: UIColor
@IBInspectable public var lineWidth: Float
@IBInspectable public var lineColor: UIColor?
@IBInspectable public var editLineWidth: Float
@IBInspectable public var editLineColor: UIColor?
示例
要运行示例项目,请克隆仓库,然后首先从示例目录运行pod install
要求
安装
MMText 通过 CocoaPods 提供。要安装它,只需在您的 Podfile 中添加以下行
pod 'MMText'
作者
MillmanY,[email protected]
许可证
MMText 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。