FUIGlyphImage

public protocol FUIGlyphImage

A protocol for use in FUIImageView and FUIAttributedGlyphImage

  • glyphText Default implementation

    Text for glyph

    Default Implementation

    Returns nil for the glyphText

    Declaration

    Swift

    var glyphText: String? { get }
  • glyphImage Default implementation

    Image for glyph

    Default Implementation

    Returns nil for the glyphImage

    Declaration

    Swift

    var glyphImage: UIImage? { get }
  • AttributedText for the glyphImage

    Declaration

    Swift

    var attributedText: NSAttributedString! { get }
  • attributes Default implementation

    Attributes for the glyphImage

    Default Implementation

    Returns an empty dictionary for the attributes

    Declaration

    Swift

    var attributes: [NSAttributedStringKey : Any] { get }