[ swift - UITableView method ]

Yr Yr·2023년 12월 19일

TIL

목록 보기
20/39
// table view cell에 대한 높이를 설정
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
	
}

// section의 header title을 설정
func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
	// title이 없는 경우 nil을 반환할 수 있다.	
}

 
// table view cell의 edit style을 결정
func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath) -> UITableViewCell.EditingStyle {

}

0개의 댓글