Contents

init(name:size:)

Returns a font descriptor with the specified values for the name and size dictionary attributes.

Declaration

init(name fontName: String, size: CGFloat)

Parameters

  • fontName:

    The value for Name.

  • size:

    The value for Size.

Return Value

The new font descriptor.

See Also

Creating a font descriptor