TwitterSpy - Initial commit
TwitterSpy - Adding View Controller class
Squares - Simplify game logic to mark won Squares

> Rename method checkForSquareAroundPosition to
checkForSquaresAfterClickAtPosition.
> Rename method updateSquareIfDotsMatch to
checkSquareCaptureWithPosition.
> Extracting more repeated code from
checkForSquaresAfterClickAtPosition and moving it into
checkSquareCaptureWithPosition. Instead of repeatedly writing the code
to specify the top left quadrant, the top right quadrant, the bottom
left quadrant and bottom right quadrant - we now only specify these
once in the reused method checkSquareCaptureWithPosition.
DrawLines - Initial commit.

Adding a view controller.
DrawLines - Adding custom UIView Stage.
DrawLines - Allow user to draw lines by touch

- Adding DLAHelper class to have a random color method available.
- Adding new UIView DLAStageScribble
DrawLines - Rename DLAStage to DLAStageLines
DrawLines - No functional change.

This should’ve been part of the previous submission when DLAStage was
renamed to DLAStageLines.
DrawLines - New UIView draws scribbles not lines

Updating DLAStageScribble to do something very similar to DLAStageLines
except that instead of only needing 2 points (start + end), a scribble
consists of (start + <multiple mid way points> + end).
DrawLines - User can change pen color and width
DrawLines - Adding undo button and a clear button

- Adding 2 buttons, one that will clear the entire stage and another
that will undo just the last line / scribble.
- Updating stageLines to inherit from stageScribble so that it inherits
the undo and clearStage methods.
DrawLines - Delete duplicate code already in Super

- Updating super class stageScribble .h to add property scribbles which
will replace our NSMutableArray global instance variables (lines /
scribbles) in stageLines and stageScribble.
- Removing init, drawRect, touchesBegan, clearStage and undo methods
from stageLines since it inherits from stageScribble which already has
the same implementations.
DrawLines - No functional change.

Extracting duplicate functionality from touchesMoved and touchesEnded
into a new method addLine.
DrawLines - No functional change.

- Renaming the methods stageLines.addLine() and
stageScribble.addToScribble to processTouch.
- Also removing touchesMoved and touchesEnded from stageLines since
they’re already in the super class.

NOTE: Notice how our stageScribble’s method addToScribble/processTouch
previously had a for loop to loop through all the touches? That would
only be useful if we were tracking more than one finger. i.e. if we
only touch with one finger then there is actually only one touch (the
last position) of where we touched with that finger.
DrawLines - Replacing color buttons and slider

I already had the slider and color buttons, but now copying Jo’s layout
from class because it looks prettier. I had my color buttons as
individual buttons at the bottom left, but he has them now as squares
across the top using pretty colors from the Adobe Kuler website.
- Renaming colorButtonClicked to changeColor.
- Renaming sizeSliderChanged to changeSize.
DrawLines - toggle between drawing lines&scribbles

Adding a toggle button so that the user can switch between drawing
straight lines or drawing ‘scribbles’ (aka multi point lines)
DrawLines - Hiding status bar
DrawLines - Store previous screen of scribbles

When toggling between drawing lines or scribbles, we don’t want to lose
the user’s previous ‘drawings’ so we now store them before switching
between stageLines and stageScribbles.
DrawLines - store color and line width settings

When the user toggles between drawing lines and drawing scribbles, we
want to remember what color and line width that they’d last set!
DrawLines - Each scribble remembers color&width