Challenge


#1

I didn’t do the challenge. I wasn’t even sure what I was supposed to do. After looking at the solution, I don’t see the point. Why is that better than what we had? During the chapter on DrawingFun it was mentioned that this is what experienced programmers would do but it seems a waste of resources to me because we deleted the mouseDragged method but then we added the autoscroll method and we added a timer.

Also I don’t understand why we have been using convertPoint:fromView: like this:

NSPoint p = [event locationInWindow]; currentPoint = [self convertPoint:p fromView:nil];
If currentPoint is an NSPoint and p is an NSPoint why not a simple assignment?