Create new instance of UISegmentedControl filled with 3 items (segments):
let mySegmentedControl = UISegmentedControl (items: ["One", "Two", "Three"])
Setup frame;
mySegmentedControl.frame = CGRect(x: 0.0, y: 0.0, width: 300, height: 50)
Make default s...