StyleFont

public enum StyleFont

Different fonts and their associated properties that are part of the schibsted style

  • h0

    Declaration

    Swift

    case h0
  • h1

    Declaration

    Swift

    case h1
  • h2

    Declaration

    Swift

    case h2
  • Declaration

    Swift

    case bodyBold
  • Declaration

    Swift

    case body
  • Declaration

    Swift

    case bodyAlt
  • Declaration

    Swift

    case bodyColor
  • Declaration

    Swift

    case bodyWhite
  • Declaration

    Swift

    case small
  • Declaration

    Swift

    case smallColor
  • Declaration

    Swift

    case tiny
  • Returns the UIFont object associated with the style

    Declaration

    Swift

    public var font: UIFont { get }
  • Retrieves attributes for NSAttributedString with requested configuration

    Declaration

    Swift

    public func attributed(color: UIColor? = nil, alignment: NSTextAlignment? = nil) -> [NSAttributedString.Key: Any]