Is there a way to easily export layer styles, created in photoshop, to core graphics code? Maybe a photoshop plugin or a .psd parser for use in xcode. I imagine someone has made (or should make) a process to more easily facilitate the "from design, to code" process. The only thing I could find on google was Opacity which takes illustrator files and outputs core graphics code.
Or maybe a third party program similar to this which creates a familiar layer style interface and exports css code.
Update : Found this today. MooMaskedIconView
Found it : http://www.paintcodeapp.com/