Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
- let headerView = tableView.dequeueReusableHeaderFooterViewWithIdentifier("CustomHeader") as! CustomHeader
- // headerView.customLabel.text = content[section].name // set this however is appropriate for your app's model
- headerView.labelNIB.text = "Test"
- headerView.sectionNumber = section
- headerView.clipsToBounds = true
- return headerView
- }
Add Comment
Please, Sign In to add comment