関モバ #4 http://kanmoba.connpass.com/event/16940/
clg@griffin_stewie
View Slide
Fenrir Inc.@griffin_stewie
How do you get inputs aboutcolors from your designers?https://flic.kr/p/5BUhTc
From Designer• Specification Document• #FF5722• r:255, g:87, b34• Pick it by your self
How do you apply colors?https://flic.kr/p/rohX3a
Storyborads• Using Color Picker• Painfull
Code• Category• Extension
Storyboard VS Code• Sometimes color is not same
How about Androids?https://flic.kr/p/9vSR9i
Who cares?http://images.sodahead.com/polls/0/0/0/6/8/0/4/6/5/polls_who_cares_4800_920100_poll.jpeg
I care
Use “clg”https://flic.kr/p/5YWuWk
What is “clg”?• Generate code from ASE file• a.k.a. "Adobe Swatch Exchange"• Swift extension Code• Objective-C category code• Android’s colors.xml
What is `clg`?• Generate JSON file as definition file• git friendly
What is `clg`?• Generate clr file• Storyboard friendly• Easy to recognize what color is
Color Picker
Swift
Objective-C
Android
https://github.com/griffin-stewie/clg