본문 바로가기

Programming/Swift

UITableViewDelegate

Methods for managing selections, configuring section headers and footers, deleting and reordering cells, and performing other actions in a table view.

 

Declaration

protocol UITableViewDelegate

 

Overview

Use the methods of this protocol to manage the following features: 

  • Create and manage custom header and footer views.

  • Specify custom heights for rows, headers, and footers.

  • Provide height estimates for better scrolling support.

  • Indent row content.

  • Respond to row selections.

  • Respond to swipes and other actions in table rows.

  • Support editing the table's content.

The table view specifies rows and sections using NSIndexPath objects. For information about how to interpret row and section indexes, see Specifying the Location of Rows and Sections.

 

developer.apple.com/documentation/uikit/uitableviewdelegate

 

'Programming > Swift' 카테고리의 다른 글

Class: URLSession  (0) 2020.10.29
UICollectionViewFlowLayout  (0) 2020.10.29
Human Interface Guidelines: Modality  (0) 2020.10.26
Human Interface Guidelines: Navigation  (0) 2020.10.26
Class: UISlider  (0) 2020.10.26