How’s the Weather? Working with Web Views
In This Chapter
Having your application actually deliver content
Displaying a web page
Understanding the ins and outs of Web views
Encountering some interesting runtime errors
Getting the framework (no pun intended) in place for a new iPhone application is certainly a crucial part of the development process, but in the grand scheme of things, it’s only the spadework that prepares the way for the really cool stuff. After all is said and done, you still need to add the content that the users see or interact with. Content is, after all, the reason they bought this application.
Now that you have created the storyboard scenes by specifying the view controller and have spiffed up the Content controller, it’s time to make those view controllers earn their keep. As I have explained more than once, view controllers are the key elements here. They’re the ones that get the content from the
Trip model object and send it to the view to display. In this chapter, you create a view controller that lets the Weather view know where to get the weather ...