Skip to content

Instantly share code, notes, and snippets.

@maniak-dobrii
Created September 8, 2016 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save maniak-dobrii/f718db391721ccc844a928ccdb685fa6 to your computer and use it in GitHub Desktop.
Save maniak-dobrii/f718db391721ccc844a928ccdb685fa6 to your computer and use it in GitHub Desktop.
UIFontWeight constants in iOS 9.3
NSLog(@"UIFontWeightUltraLight = %@", @(UIFontWeightUltraLight));
NSLog(@"UIFontWeightThin = %@", @(UIFontWeightThin));
NSLog(@"UIFontWeightLight = %@", @(UIFontWeightLight));
NSLog(@"UIFontWeightRegular = %@", @(UIFontWeightRegular));
NSLog(@"UIFontWeightMedium = %@", @(UIFontWeightMedium));
NSLog(@"UIFontWeightSemibold = %@", @(UIFontWeightSemibold));
NSLog(@"UIFontWeightBold = %@", @(UIFontWeightBold));
NSLog(@"UIFontWeightHeavy = %@", @(UIFontWeightHeavy));
NSLog(@"UIFontWeightBlack = %@", @(UIFontWeightBlack));
// iOS 9.3
UIFontWeightUltraLight = -0.800000011920929
UIFontWeightThin = -0.6000000238418579
UIFontWeightLight = -0.4000000059604645
UIFontWeightRegular = 0
UIFontWeightMedium = 0.2300000041723251
UIFontWeightSemibold = 0.300000011920929
UIFontWeightBold = 0.4000000059604645
UIFontWeightHeavy = 0.5600000023841858
UIFontWeightBlack = 0.6200000047683716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment