Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sergey-cheperis/3a3dd650bcbd6b73ec49f7d781a83287 to your computer and use it in GitHub Desktop.
Save sergey-cheperis/3a3dd650bcbd6b73ec49f7d781a83287 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