In this quick lesson, we'll look at how we can implement a nice subtle gradient inside the CardView objects we are presenting for the UI. This is done by adding a sublayer called a CAGradientLayer. You'll then need to set up the correct colors, locations, and frame property to have it show up correctly.