<Instance Method> tableView(_:numberOfRowsInSection:)

dlsl7380·2021년 6월 7일
0

Instance method

목록 보기
5/19

tableView(_:numberOfRowsInSection:)

Tells the data source to return the number of rows in a given section of a table view.

Required.

데이타 소스에 지시한다/ 리턴하도록 rows의 수만큼/ 테이블뷰의 주어진 섹션에

Declaration

func tableView(_ tableView: UITableView, 
numberOfRowsInSection section: Int) -> Int

Parameters

tableView

The table-view object requesting this information.
테이블 뷰 객체/ 이 정보를 요청하는

section

An index number identifying a section in tableView.
테이블뷰에서 섹션을 확인하는 인덱스 수

Return Value

The number of rows in section.
섹션에서 rows의 수

0개의 댓글

관련 채용 정보