Presence - Part 2
This assignment is due by 11:59 PM, October 29.
Last week, you created the first version of Presence, an iPhone application for viewing online
status updates. This week, we’ll improve the application in two major ways. First, we’ll make the
switch from hardcoded views to table views, so that our application can display large, dynamic
data sets. Second, we’re going to read local data from property lists and fetch remote data using
web services, displaying actual content in our application.
Here are the requirements for Part 2:
1. Read the contents of TwitterUsers.plist at an appropriate place in your application’s life
cycle. You’ll need to add the file to your Xcode project so that it’s built into the application
bundle. Use the contents to create a list of people to display. Handle common error
2. Define a Person model object. For now, a person should include an image, a username, a
display name and a list of status messages. So, for each username in the property list above,
you’ll need to instantiate a person object and fetch their data from Twitter. The walkthrough
covers this in more depth.
3. Update the PersonListViewController class to manage a plain style UITableView. You may
want to make it a subclass of UITableViewController. Display the list of Person objects in
the table view, including an image and a name.
4. When a person is selected in the list, set up and push a PersonDetailViewController
The PersonDetailViewController class needs to be updated as well. It should have a person
property which a client can set. It will manage a grouped style UITableView where it
displays a list of status messages for the selected user.
There is an archive accompanying this assignment titled Presence2Files.zip which includes the
TwitterUsers.plist file that your application will read. Additionally, it includes a class called
TwitterHelper which encapsulates requesting a user’s status updates. Finally, it includes some
code for parsing