Sometimes we would want to have a “cleaner” UITableView

Removing extra cell lines in a UITableView

Using Swift 5!

In this quick & short article, I will show you how to remove those extra lines, or you could say those “extra UITableViewCells”, from your UITableView. Keep in mind, this totally depends on how you like to design your Table View. So then, let’s proceed!

1. Creating an Extension

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store