Welcome to the Treehouse Community
Looking to learn something new?
Blog Reader - Viewing A Webpage (Code very different to video)
So I am on the first video "Opening a Web Page in Safari" in the "Viewing a Webpage Section" - On the video there is "#pragma mark - Table view delegate" and then a bunch of code underneath it. Why doesn't my app have all of that? Is it because I am on Xcode 5? Or have I done something very wrong ... If its a Xcode version problem, what is the best solution?
Amit BijlaniTreehouse Guest Teacher
The Table View Controller template in Xcode 5 leaves out the
didSelectRowAtIndexPath method but all you have to do is start typing it and the autocomplete will prompt you with the complete method signature. Keep in mind that the method name is
didSelectRowAtIndexPath. Many students end up selecting
didDeselectRowAtIndexPath and get unintended consequences.