¡@

Home 

2014/10/15 ¤U¤È 10:14:23

iphone Programming Glossary: squarelocations

How to check an ID of a object that has been touched (iOS)

http://stackoverflow.com/questions/15439234/how-to-check-an-id-of-a-object-that-has-been-touched-ios

practice but I ran out of ideas haha. Here's the view #import LevelOneView.h @implementation LevelOneView @synthesize squareLocations id initWithFrame CGRect frame self super initWithFrame frame if self Initialization code return self void drawRect CGRect.. CGRect frame self super initWithFrame frame if self Initialization code return self void drawRect CGRect rect squareLocations NSMutableArray alloc init CGPoint dotOne CGPointMake 1 25 squareLocations addObject NSValue valueWithCGPoint dotOne CGPoint.. code return self void drawRect CGRect rect squareLocations NSMutableArray alloc init CGPoint dotOne CGPointMake 1 25 squareLocations addObject NSValue valueWithCGPoint dotOne CGPoint dotTwo CGPointMake 23 25 squareLocations addObject NSValue valueWithCGPoint..