More detail needed for the Circle challenge


I’m stuck at the creating a circle challenge. How exactly do the two fingers trigger a drawing of a circle? Can someone provide a simple walkthrough for this feature? Something like this?:

  1. User places two fingers on the screen at the same time.
  2. The two fingers move in a circular motion to trigger the drawing of a circle.


What they mean is:

  1. User places 2 fingers on screen
  2. User moves fingers with either “pinch-in” or “pinch-out” movement. i.e., just like you’d zoom in or out
  3. The user finger placement (as they pinch in or out) creates a bounded virtual rectangle. The circle/ellipse is drawn inside the bounds of the rectangle.

Does that help?


this is what you need for this challenge

CGRect rectangle = CGRectMake([line begin].x, [line begin].y, ([line end].x - [line begin].x), ([line end].y - [line begin].y)); CGContextAddEllipseInRect(context, rectangle); CGContextStrokePath(context);