Reputation: 1424
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?
Upvotes: 0
Views: 125
Reputation: 523474
Yes.
And UITableViewController already is the .delegate
and .dataSource
of its UITableView by default.
Upvotes: 3