Swift Developer Question:
Do you know what is the reuseIdentifier used for?
Answer:
The reuseIdentifier is used to indicate that a cell can be re-used in a UITableView. For example when the cell looks the same, but has different content. The UITableView will maintain an internal cache of UITableViewCell’s with the reuseIdentifier and allow them to be re-used when dequeueReusableCellWithIdentifier: is called. By re-using table cell’s the scroll performance of the tableview is better because new views do not need to be created.
Previous Question | Next Question |
How to write a multiple line command Swift? | Tell me the features of Swift Programming? |