Contents

withFace(_:)

Returns a new font descriptor that’s the same as the existing font descriptor, but with the specified face.

Declaration

func withFace(_ newFace: String) -> UIFontDescriptor

Parameters

  • newFace:

    The new font face.

Return Value

The new font descriptor.

See Also

Creating a font descriptor