Я работаю с Swift и iOS уже несколько месяцев. Я знаком со многими способами, которые делаются, но я недостаточно хорош, чтобы просто писать вещи, не глядя. Я оценил Qaru в прошлом за предоставление быстрых ответов, чтобы вернуть меня в тупик с темами, в которых я ржавый (например, пример для Android AsyncTask).
iOS UITableView
входит в эту категорию для меня. Я делал их несколько раз, но я забыл, что это за детали. Я не мог найти другого вопроса в StackOverflow, который просто запрашивает базовый пример, и я ищу что-то меньшее, чем многие из обучающих программ, которые находятся в сети (хотя this один из них очень хорош).
Я предоставляю ответ ниже для моей будущей ссылки и вашей.