Skip to content

kiriem/UITableViewCell-indexPathZeroTopSeparator.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

UITableViewCell-indexPathZeroTopSeparator.swift

about

UITableViewの先頭cell,つまりindexPath.row == 0のとき、セルのtopにseparatorを付けます。

usage

if indexPath.row == 0 {
  cell.indexPathZeroTopSeparator(color: UIColor.red, inset: .middle, tableView: tableView)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages