iOS Application Development Related

Wednesday, February 28, 2018

Instead of breaking our heads withRGB 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.