FUIText

public class FUIText : FUITextProtocol, ExpressibleByStringLiteral
extension FUIText: Initializable

A wrapper on String, supporting UILabel-like properties for text, font and textColor.

  • Declaration

    Swift

    public typealias StringLiteralType = String
  • Declaration

    Swift

    public required init(stringLiteral value: String)
  • Undocumented

    Declaration

    Swift

    public init(_ value: String)
  • Undocumented

    Declaration

    Swift

    public init(_ value: String, font: UIFont? = nil, textColor: UIColor? = nil)
  • Declaration

    Swift

    required public init()
  • String value of the object

    Declaration

    Swift

    public var text: String? { get set }
  • Text color utilized by controls consuming properties from the object

    Declaration

    Swift

    public var textColor: UIColor? { get set }
  • Font utilized by controls consuming properties from the object

    Declaration

    Swift

    public var font: UIFont? { get set }
  • Undocumented

    Declaration

    Swift

    public var isDirtyHandler: (() -> Void)?
  • Undocumented

    Declaration

    Swift

    public func attributes() -> [NSAttributedStringKey : Any]