I would like to load more data and create additional cells when the user scrolls to the bottom of the table. I\'m using JSON data and MySql.
func dataJsonFro
you have to use this method
override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
let lastElement = dataSource.count - 1
if indexPath.row == lastElement {
// handle your logic here to get more items, add it to dataSource and reload tableview
}
}