ios - how to show number of cell in table view using label -
i have 1 table view contains more many results dipslay in each cell. totally have 50 data in table view. did array , display in table view.like :
var tabledata = ["thomas", "alva", "edition", "sathish", "mallko", "techno park" ..... till 50 data]
what need is, have 1 label called countlabel
. need display how data in tableview there? in lbel countlabel
. need dipslay in label 50 datas
.... because having 50 data in table view. please me how ?
thanks
countlabel.text = "\(tabledata.count) data"
Comments
Post a Comment