Beginning iOS 10 Part 1 Getting Started - Part 8: | Ray Wenderlich

It only takes a few images to turn a dull app into the talk of the town. In this episode, you'll learn about images and how to work with high resolution screens.

This is a companion discussion topic for the original entry at

Could you elaborate more on the insets. What exactly they are and how 14 points came about, vs like 20, etc? Thank you.

let insets = UIEdgeInsets(top: 0, left: 14, bottom: 0, right: 14)

I’d also really appreciate more detail on insets please

I think 14 is the radius of semicircle in SliderTrackRight or SliderTrackLeft. By using this inset, only the rectangular part of these two images will be extended or shrinked.