Homework 8


Downloads

MultiDrawDone

Aim

This homework will get you to realize how cool the Multi-Touch API is.

Task

Modify MultiDraw so that a double-tap anywhere on the screen will clear everything that's been drawn so far (the screen should just be white again).

Hints

This is a lot easier that it sounds. Look at the documentation for UITouch. Everything you need is in UITouch. You'll want to put your code in touchesEnded.

Due

Tuesday March 31, at 6:30PM

Submission

LabFusion (delete the build directory and zip the project directory)

Solution

here

Back to the main page