Assignment 2

The Anatomy of an Application

Due Dates

Resources

Create Your Repository

Assignment

In this assignment you will create an iPhone application with a single UIViewController and several standard UIKit objects. A UIScrollView will be used to display a UIButton and UIImageView on each page. This assignment will combine storyboard and programmatic interface design.

Project Setup

Sounds and Images

Model

let name: String
let species: String
let age: Int
let image: UIImage
let soundPath: String
Animal: name = ?, species = ?, age = ?

View Controller

Views

Functionality

NOTE: Calculating the correct text and alpha for the label can be accomplished in about four lines of code, although you may use more lines if you like.

App Icon

Grading