Text Edit with error and title string
MMText
Text Edit with error and title string.
Parameter
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?
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
MMText is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'MMText'