Instead of breaking our heads with RGB or HEX values for giving a background/text/border colors for views, There is a simple way for assigning colors where we can also see that color in the code using Color Literals.
Start typing color and select Color Literal option.
This creates a default white colored box. Tap on the box, to get the complete color picker box.
We can give RGB combination also here.
The same way, we can give Image Literal and select the image from Assets in app bundle.
Hope this post is useful. Feel free to comment incase of any queries.
I would like to thank you for the efforts you have made in writing this article, Its good and Informative.
ReplyDeleteios course