What We’ve Learned

We’ve put our app through a radical makeover in this chapter, and in so doing we’ve turned it from a toy into something that’s starting to resemble real-world Twitter clients. By switching to a table view, we’ve adopted what’s arguably the most familiar and most useful iPhone user interface. We implemented the methods provided by UITableViewDataSource (which we inherited from UITableViewController) to structure our table data as sections, rows, and cells. We tried out the basic table cell styles, and then moved on to a custom cell approach that allows us to populate, lay out, and style the cell contents in whatever way best suits the contents.

Now that our user interface is ready, we can go out to the network to get real Twitter data to populate the table. This will introduce a bunch of new challenges with how (and when) our code runs, but along the way we’ll solve the problem with how the image loading slows down our scrolling.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.177.14