             }
         }
     }
-    
+
     // Mark - tableview delegate methods
 
     public func numberOfSections(in tableView: UITableView) -> Int {

    private func showAddedResponse(comment: DiscussionComment) {
        responsesDataController.responses.append(comment)
        tableView.reloadData()
        let indexPath = IndexPath(row: responsesDataController.responses.count - 1, section: TableSection.Responses.rawValue)
        tableView.scrollToRow(at: indexPath, at: .top, animated: false)
    }
    
    private func setupProfileLoader() {

        return NSAttributedString.joinInNaturalLayout(attributedStrings: attributedStrings)
    }
}

extension UITableView {
    func hasRow(at indexPath: IndexPath) -> Bool {
        return indexPath.section < numberOfSections && indexPath.row < numberOfRows(inSection: indexPath.section)
    }
}
