UIColorの定義はすべて#colorLiteral使ってみることにしてみた
まだ最適解かは分かりませんが、UIColorの生成はすべて#colorLiteral使ってみることにしてみました。上のような感じになります。
Swift…
These were the top 10 stories published by Swift・iOSコラム in 2016. You can also dive into monthly archives for 2016 by using the calendar at the top of this page.