I have a tableView to display timings of week days
timingsArray is used in tableView to display timings
timingsArray of type timingObj
cla
Adding a prepareForReuse
method to your cell class in which you reset the cell to it's initial state has the same effect as @CH Uck's answer
For example:
func prepareForReuse() {
super.prepareForReuse()
self.dayLabel.text = ""
self.timeLabel.text = ""
}
See also: prepareForReuse in Apple developer documentation.