Skip to content

TableView를 동작 방식과 화면에 Cell을 출력하기 위해 최소한 구현해야 하는 DataSource 메서드를 설명하시오. #22

Open

Description

@Glsme
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • TableView의 Cell의 개수를 정의하는 메서드이다.


func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
  • TableView 내 Cell을 정의하는 메서드이다.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions