Assignment2B
Assignment2B
Assignment
Over the next two weeks you will build an iPhone application for displaying a polygon. The user
interface will allow the user to set the number of sides for the polygon (this week’s assignment)
and a custom view will draw the polygon (next week’s assignment). We will make use of several
key design patterns used in Cocoa Touch applications.
This week you will get the basics up and running - creating and connecting the model, view, and
controller. Here’s a rough outline of what you’ll need to do to complete the assignment
successfully:
Please see the accompanying walkthrough document for the details of this assignment.
Testing
In most assignments testing of the resulting application is the primary objective. In this case,
testing/grading will be done both on the behavior of the application, and also on the code.
Extra Credit
• Add additional text labels that displays the angle (in degrees or radians, or both) in the
user interface.
• Add additional text labels that display the minimum and maximum allowable values for
the number of sides on the polygon.
• Add a text label that displays the name of the polygon.
Page 1 of 1