The Segment name is Entrada. I am doing like this:
override func viewDidLoad() {
super.viewDidLoad()
Entrada(sender: UISegmentedControl) {
setTitle("Action 1", forSegmentAtIndex: 0)
setTitle("Action 2", forSegmentAtIndex: 1)
setTitle("Action 3", forSegmentAtIndex: 2)
}
I get errors... thow.