r/simpleios • • Nov 07 '14

[Question] Difference between subclassing UITableViewController and conforming to UITableViewDelegate?

I'm playing with table views and storyboards at the moment (sorry BNR, it was just too tempting) and something occurred to me - what would be the advantage of subclassing UIViewController and having it conform to the UITableViewDelegate and UITableViewDataSourceDelegate protocols, as opposed to directly subclassing UITableViewController?

4 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jan 13 '15

I've been enjoying using storyboards so much since the book that it feels almost like cheating.