Last active
July 20, 2017 18:04
-
-
Save iAmrSalman/64904cc73208f4cdad0b42dc985d2c91 to your computer and use it in GitHub Desktop.
[insert new cell into UITableView] #uitableview #swift3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Yourarray.append([labeltext]) | |
tableView.beginUpdates() | |
tableView.insertRows(at: [IndexPath(row: yourArray.count-1, section: 0)], with: .automatic) | |
tableView.endUpdates() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment