check collision

iPhone SDK Tips & Tricks

if(CGRectIntersectsRect(circle1.frame, circle2.frame)
{
NSLog(@”touched”);
}