Presence 2 Doll/Cannistraro - Presence - Part 2

Assignment 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. | CS193P Spring 2009 Presence 2 Doll Cannistraro Presence - Part 2 Due Date This assignment is due by 11 59 PM May 5. Assignment 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 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 conditions gracefully. 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 UlTableView. 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 5. 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 UlTableView where it displays a list of status messages for the selected user. There is an archive accompanying this assignment titled which includes the file that your application will read. Additionally it includes a class called TwitterHelper which encapsulates requesting a user s status

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.