Add Colors and Fonts to .xcassets

Originator:tomburns
Number:rdar://17291633 Date Originated:6/12/14
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 5, 6-beta1
Classification:Enhancement Reproducible:N/A
 
Summary:
It would be helpful to be able to store UIColors and UIFonts in your asset catalog, to make them globally available in code, xibs, and storyboards via dropdown menus in interface builder and in code, e.g., [UIColor colorNamed:@"Foo"], [UIFont fontNamed:@"Foo"] similar to the way Image assets are handled now.

This would ensure consistent access to the same palette of colors and fonts without having to define them in multiple places throughout the project.

Comments

Duped as rdar://17384393


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!