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>
For your question if you can access color assets like the image using literal, as of Xcode 10.2 you can type in colorliteral, then you can pick the color you want to use that is under your asset manager.
colorliteral