I have UITableViewand UITableViewControllerwhich is the table view delegate. I have several sections in mine UITableView, and I need to set my own title for the first section. Unfortunately, the override func tableView(tableView: UITableView!, viewForHeaderInSection section: Int) -> UIView!(swift) method is called for each section, but section 0, which is the first sector. All my other UITableViewdelegation methods and datasource work correctly, and I don't have methods that should override this method.
source
share