In addition to its title, an RSSItem also keeps a link that points to the web page where the post lives. It would be neat if Nerdfeed could open up Safari and navigate to that page. It would be even neater if Nerdfeed could render that webpage as a view without having to leave Nerdfeed to open Safari. Good news, it can.

Instances of UIWebView render web content. In fact, the Safari application on your device uses a UIWebView to render its web content. In this part of the chapter, you will create a view controller whose view is an instance of UIWebView. When one of the items is selected from the table view of RSSItems, you will push the web view’s controller onto the navigation stack and have it load the link stored in the RSSItem

Get iOS Programming: The Big Nerd Ranch Guide, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.