Is it ok to use your view controller as your uiview’s delegate, it seems to make sense to be as they are similar in nature.
More specifically is it OK to use your uitableviewcontroller as your uitableview’s delegate and data source?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes.
And UITableViewController already is the
.delegateand.dataSourceof its UITableView by default.