A segmented control displays a list of options that a user can choose from.
Each segment sort of looks like a radio button, the segments remains
“pressed” even after the user selects the control. In this tutorial we
create 2 segments inside a UISegmentedController. Each segment will display
a different text value on a label. This tutorial makes use of Xcode 6 and
is build for iOS8.