Lecture 5: Protocols and Gestures

We also covered Autorotation and View initialization today.

As will always be the case with Tuesday lectures, you do not need any information from this lecture to do the assignment which is due the next day.

Code from today's lecture posted. A few comments have been sprinkled through it.

We still have two things left to do: 1. delegate the View's "data" (it's smileyness) and 2. add a gesture recognizer to modify our Model (the happiness). We'll do that on Thursday.

Downloads