NSAttributedString

extension NSAttributedString
  • Apply a font attribute for the full length of string.

    Declaration

    Swift

    public func applyedFont(_ font: UIFont?) -> NSAttributedString
  • Apply a paragraph style for the full length of string.

    Declaration

    Swift

    public func applyedParagraphStyle(_ process: (_ style: NSMutableParagraphStyle) -> Void) -> NSAttributedString