samedi 18 avril 2015

Send the text of cell clicked, to the next view

1.1, I have a TableView, linked with sqlite, when i click a cell, the program goes to the prepareForSegue, before getting the value inside of tableView didSelectedRow.


For this in the first visit of secondView the value of Label is nil, if i back to the previous view and select other cell, i get the first cell value.


I have a UILabel in the secondView and this text would be the cell selected.


I don´t know how i can say at segue the text value of the tableView.


May be somebody can help me, apologies if my english is bad.


Thanks.


Aucun commentaire:

Enregistrer un commentaire