Assignment 4

Assignment 4 - Assignment IV Top Places Objective In this series of assignments you will create an application that presents a list of popular

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Assignment IV: Top Places Objective In this series of assignments, you will create an application that presents a list of popular Flickr photo spots. This ¡rst assignment is to create a navigation-based application to let users browse the most popular places on Flickr, click on any they are interested in to see some photos taken in that place. The primary work to be done in this assignment is to create build a tab-based user- interface with two tabs: Top Places and Recents. The ¡rst two will show the names of places and the second a list of the most recently-viewed photos. The goals are to get familiar with table views, tab bar controller, scroll views, image views and to get experience building yet more MVCs in your application. All the data you need will be downloaded from Flickr.com using Flickr’s API. Code will be provided for the Flickr queries you need for this assignment. Be sure to check out the Hints section below! Also, check out the latest in the Evaluation section to make sure you understand what you are going to be evaluated on with this assignment. Materials • This is a completely new application, so you will not need anything (but the knowledge you gained) from your ¡rst three homework assignments. • You will need to obtain a Flickr API key . A free Flickr account is just ¡ne (you won’t be posting photos, just querying them). CS193P IPHONE APPLICATION DEVELOPMENT FALL 2011 PAGE 1 OF 6 ASSIGNMENT IV: TOP PLACES Required Tasks 1. Use the provided FlickrFetcher class method topPlaces to get an array of the most popular Flickr photo spots in the last day or so. It is an array of NSDictionary s which contain information about each place. 2. Create a UITabBarController-based user-interface with two tabs. The ¡rst shows a UITableView with the list of places (in alphabetical order) obtained in Required Task #1. The second shows a UITableView with a list of the 20 most recently viewed photos. 3. Anywhere a place appears in a table view in your application, the most detailed part of the location (e.g. the city name) should be the title of the table view’s cell and the rest of the name of the location (e.g. state, province, country, etc.) should appear as the subtitle of the table view cell. 4. When the user chooses a place from the list obtained in Required Task #1, you must query Flickr again to get an array of 50 recent photos from that place and display them in a list. Do this using the FlickrFetcher method photosInPlace:maxResults: (it returns an array of dictionaries, each of which contains info about a photo). 5. Any list of photos should display the photo’s title as the table view cell’s title and its description as the table view cell’s subtitle. If the photo has no title, use its description as the title. If it has no title or description, use “Unknown” as the title....
View Full Document

This note was uploaded on 01/25/2012 for the course CS 193P taught by Professor Evandoll during the Fall '09 term at Stanford.

Page1 / 6

Assignment 4 - Assignment IV Top Places Objective In this series of assignments you will create an application that presents a list of popular

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online