Check out How to add a custom UITableViewCell Swift by JR. Here is an excerpt:
Create a new UITableViewCell in Swift (with nib)
Give it a unique identifier
Load it up in your ViewController
Then access it in your UITableView delegate methods like this
Give your cell a default height in the ViewController else you will get a warning
The full article is available here.