 
         let object = fetchedResultsController.object(at: indexPath)
         let lastObject = indexPath.row == tableView.numberOfRows(inSection: 0) - 1
-        let cell = tableView.dequeueReusableCell(withIdentifier: cellReuseIdentifier) ?? UITableViewCell(style: .subtitle, reuseIdentifier: cellReuseIdentifier)
+        let cell = tableView.dequeueReusableCell(withIdentifier: customCellReuseIdentifier ?? stockCellReuseIdentifier, for: indexPath)
         tableViewDelegate.crudViewController(crudViewController: self, configure: cell, forObject: object, lastObject: lastObject)
-
         return cell
     }
 


public class CrudViewController: UIViewController {

    private let cellReuseIdentifier = "CrudViewControllerCell"
    private var fetchedResultsController: NSFetchedResultsController<NSFetchRequestResult>!
    private var tableView = UITableView(frame: .zero, style: .plain)
    private var searchField: UITextField!
    private var searchContainer: CrudSearchContainer!
    private var searchCancelButton: UIButton!


    public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        if indexPathPointsToAddObjectRow(indexPath: indexPath) {
            let cell = CrudAddItemCell(style: .default, reuseIdentifier: addObjectCellReuseIdentifier)
            cell.titleLabel.text = String(format: "Create new %@", crudName)
            themeDelegate?.crudViewController?(crudViewController: self, themeAddItemCell: cell)
            cell.accessibilityLabel = addObjectCellReuseIdentifier
