By creating CustumTableViewCell, you can use cells of your favorite layout in TableView.
And the TableViewCell accessory view can be equipped with accessories such as UISwitches and checkmarks.
Here is a sample code that uses both.
Reference: [Swift]UITableViewCellのaccessoryViewでaccessoryButtonTappedForRowWithIndexPathが来ない件の対応