Assignment4 Instructions

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 3

CS 646 iPad/iPhone Mobile Application Development
Fall Semester, 2018
Assignment 4
© 2018, All Rights Reserved, SDSU & Roger Whitney
San Diego State University -- This page last updated 10/13/18
Assignment 4 - Sampler App
Due Oct 28 23:59
Objectives
Sample some UI components.
App description
This app will use a number of UI elements so the app will not make much sense as a single
app. You will create an app with multiple scenes. You only need to support portrait view and
the iPhone 8.
Initial Scene
This scene contains two labels (Name, Password), two related textfields and two buttons. The
buttons have titles States and Tab. The buttons only work with the name and password each
contain text with more than three characters. The labels and buttons need to be localize to
have default English but also support Spanish. The States button takes you to the States
scene. The Tab button takes you to the Tab Scene. This is the only scene that needs to sup-
port Spanish.
States Scene
The States scene shows in a Table view a list of 10 US states read from a plist. When the user
taps on a state they go to a detailed scene which shows the name of the state, state abbrevia-
tion, the state capital and when it became a state. The user needs to be able to go back to the
list of states. From the list of states they need to be able to go back to the Initial scene. The list
of states is given below.
Tab Scene
The Tab scene has three tabs.
Name Tab.
This is the default tab that is displayed. It contains a text field, a label (Name) and a button,
titled back. The textfield contains the name entered in the Initial scene. The user can edit
the name in this view. The Back button takes the user back to the Initial scene. If the user
edited the name in the Name tab the change is reflected Initial scene.
Sports Tab
The view at this tab will contain a custom picker view with two columns. The first column
will contain a list of countries. When the user has selected a country then the second col-
umn displays a list of sports in that country. The list of countries and their sports are given
below. When the user selects a sport an alert is shown indicating the country and sport se-
lected
Map Tab
This view contains a map view. The map is centered on San Diego and zoomed in so that
El Cajon and Escondido are labeled in the map.
Grading
The assignment will be graded as follows:
Country
Sports
India
Cricket, Chess, Badminton,
Field Hockey, Football,
Tennis, Gilli-danda, Golf
USA
Baseball, Football, Curling,
Basketball, Soccer, Rock
Climbing, Skateboarding
Taiwan
Football, Archery, Baseball,
Table Tennis, Cycling,
Taekwondo
Points
Item
5
Initial Scene. Enter data and two buttons work properly
20
State Scene Table View and Detailed View
10
State Data read from Plist
10
Navigation between Detailed view, Table View and Initial Scene
10
Tab bar working
10
Name sent to Name Tab, Changes sent back to Initial Scene
15
Picker in Sports Tab working correctly with Alert
10
Map view in Map tab working, centered on San Diego, zoomed in
10
Text view in Segment Tab
5
Map view shows users current location (optional)
What to Turn in
Create a Xcode project for the assignment. Xcode places the project in its own directory. Place
the directory (and all its contents) into a zip file. This assignment we will not use blackboard to
turn in assignments. We will use my older course portal (http://bismarck.sdsu.edu/CoursePor-
tal).
15
Map view supports giving directions between two locations (optional)
Points
Item
Abbreviation
State
Capital
When became State
AL
Alabama
Montgomery
December 14,
1819
AK
Alaska
Juneau
January 3, 1959
AZ
Arizona
Phoenix
February 14,
1912
AR
Arkansas
Little Rock
June 15, 1836
CA
California
Sacramento
September 9,
1850
CO
Colorado
Denver
August 1, 1876
CT
Connecticut
Hartford
January 9, 1788
DE
Delaware
Dover
December 7,
1787
FL
Florida
Tallahassee
March 3, 1845
GA
Georgia
Atlanta
January 2, 1788

Navigation menu