¡@

Home 

2014/10/15 ¤U¤È 10:03:58

iphone Programming Glossary: arrayoftouches

iPad (very) simple drawing

http://stackoverflow.com/questions/3956202/ipad-very-simple-drawing

@ blankNotePadPage ofType @ png NSData data NSData dataWithContentsOfFile pathToBlank image UIImage imageWithData data arrayOfTouches NSMutableArray alloc initWithCapacity 10 self.drawImage.image image mouseMoved 0 self.view bringSubviewToFront closeButton.. userInfo nil repeats YES void touchesBegan NSSet touches withEvent UIEvent event UITouch touch touches anyObject arrayOfTouches addObject touch void touchesMoved NSSet touches withEvent UIEvent event UITouch touch touches anyObject arrayOfTouches.. addObject touch void touchesMoved NSSet touches withEvent UIEvent event UITouch touch touches anyObject arrayOfTouches addObject touch void touchesEnded NSSet touches withEvent UIEvent event void drawIt NSMutableArray tempArray NSMutableArray..