UIFontDescriptor pointSize vs UIFontDescriptorSizeAttribute

159 views Asked by At

If I have a font descriptor.

let fontDescriptor = UIFontDescriptor.preferredFontDescriptor(withTextStyle: .headline)

Then what is the difference between

fontDescriptor.pointSize

and

fontDescriptor.object(forKey: UIFontDescriptorSizeAttribute)
0

There are 0 answers