NSColorList for iOS, or some way to share colors between IB and code
Originator: | matthew.morey | ||
Number: | rdar://17641319 | Date Originated: | 11-Jul-2014 09:45 AM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | iOS 7.1 |
Classification: | Enhancement | Reproducible: | Not Applicable |
Summary: When developing my apps I usually create a category on UIColor and a custom color palette (CLR file) for Interface Builder for my specific colors. But this means I have to add new colors and update old colors in 2 places. I could create a bunch of IBOutlets, set colors in code, and not use the CLR file, but I hate creating a ton of IBOutlets. I would like to include the CLR file in my bundle and then access the colors wherever I need in code. On OS X I believe I could achieve this with the NSColorList class. NSColorList should be ported to iOS. Steps to Reproduce: n/a Expected Results: n/a Actual Results: n/a Regression: n/a Notes: n/a
Comments
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!
Duplicate of 17274602
Duplicate of 17274602