This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit.UIFont | |
public extension UIFont { | |
/// Helper method to create a UIFont with updated attributes applied to the UIFontDescriptor | |
/// | |
/// - parameter attributes: The new attributes to apply to the fontDescriptor | |
/// | |
/// - returns: A UIFont object with the new attributes appended to the receivers fontDescriptor | |
func addingAttributes(_ attributes: [UIFontDescriptor.AttributeName : Any] = [:]) -> UIFont { |