How can we use Assets Catalog Color Sets?

后端 未结 9 1529
遇见更好的自我
遇见更好的自我 2020-11-29 06:57

I usually use custom UIColors on iOS using extensions with Swift, but now with iOS 11/ Xcode 9 we can create Colors Sets. How can we use them?

Update - Tip

9条回答
  •  独厮守ぢ
    2020-11-29 07:25

    In Xcode 11 press command + shift + L , it will open a snippet , select last one like i showed in image drag and drop .

提交回复
热议问题