Contents

withFamily(_:)

Returns a new font descriptor whose attributes are the same as the existing font descriptor, but from the specified family.

Declaration

func withFamily(_ newFamily: String) -> UIFontDescriptor

Parameters

  • newFamily:

    The new font family.

Return Value

The new font descriptor.

See Also

Creating a font descriptor