Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

하나의 View Controller 코드에서 여러 TableView Controller 역할을 해야 할 경우 어떻게 구분해서 구현해야 하는지 설명하시오. #159

Open
inuinseoul opened this issue Jun 19, 2022 · 3 comments
Labels

Comments

@inuinseoul
Copy link
Collaborator

No description provided.

@inuinseoul inuinseoul added the iOS label Jun 19, 2022
@inuinseoul
Copy link
Collaborator Author

하나의 delegate에서 분기를 사용해 각 TableView를 구분하거나,
TableView 별도의 delegate 객체를 만들어서 주입해주는 방법이 있습니다.

@sustainable-git
Copy link
Member

@tmfrlrkvlek
Copy link
Collaborator

  1. func tableView(_:, cellForRowAt:) → UITableViewCell 함수에서 각 tableview에 따라 처리하도록 구현
  2. 별도의 delegate 객체를 만들어 주입

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants