I have the following problem, there is an array that is my picker, and I have a function that knows the position of my picker, so I would like to compare it to know what text is in that position, ie know the text that is in the position of the array:
var pickerDataSource = ["OPC A", "OPC B", "OPC C", "OPC D"];
func x () {labelDaPosicao = self.pickerDataSource[row] }
Remembering that row
is given by function, how can I solve this?