vendredi 2 janvier 2015

iOS Static TableView Selection identify

I have a static tableview inside a container, inside a view. There are 5 cells, each representing a different service. The service detail view is generic to all 5, so will be used for each.


I'm stuck as to how to differentiate the selection of a specific cell as so far i've only instantiated table views via code (using array, UITableViewDataSourceDelegate etc).


Each cell is visually identified using a Label.


Is there a way to assign each cell something like a storyboard id? or even an overkill way of determining the cell label's value for comparison?




Aucun commentaire:

Enregistrer un commentaire