« first day (232 days earlier)    last day (14 days later) » 

8:22 AM
CGPoint touchPoint = [[[event touchesForView:self] anyObject] locationInView:self];
CGFloat dotSpanX = self.numberOfPages*(kDotDiameter + kDotSpace);
CGFloat dotSpanY = kDotDiameter + kDotSpace;
CGRect currentBounds = self.bounds;
  CGFloat x = touchPoint.x + dotSpanX/2 - CGRectGetMidX(currentBounds);
CGFloat y = touchPoint.y + dotSpanY/2 - CGRectGetMidY(currentBounds);
 self.currentPage = floor(x/(kDotDiameter+kDotSpace));
 

« first day (232 days earlier)    last day (14 days later) »