withFamily(_:)
Returns a new font descriptor based on the current object, but with the specified font family.
Declaration
func withFamily(_ newFamily: String) -> NSFontDescriptorParameters
- newFamily:
The replacement font family.
Return Value
The new font descriptor.