Guest User

Untitled

a guest
May 2nd, 2016
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
  2.  
  3. let headerView = tableView.dequeueReusableHeaderFooterViewWithIdentifier("CustomHeader") as! CustomHeader
  4.  
  5. // headerView.customLabel.text = content[section].name // set this however is appropriate for your app's model
  6. headerView.labelNIB.text = "Test"
  7. headerView.sectionNumber = section
  8.  
  9. headerView.clipsToBounds = true
  10.  
  11. return headerView
  12. }
Add Comment
Please, Sign In to add comment