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) -> UIFontDescriptorParameters
- newFamily:
The new font family.
Return Value
The new font descriptor.