Able to create a square of random color which is placed randomly on the screen. Also able to move the square with a pan gesture.
Added Black Hole and Add Square buttons to view. View now starts with 3 squares.
Added blackHole class. Override drawRect to create a circle. Code to create BlackHole and add to the view.
Create AddSquare method which adds a square when button is pressed.
Black hole button now working. When draggin a square over black hole it disappears. However this is using the squares bounds and not the circle itself.
Added double tap gesture to change the colour of the square to another random colour.
Add pinch gesture to modify the size of a square. Add check to make sure that the squares stay within the bounds of the screen and don't obstruct the buttons or the black hole when being added to the screen. Added Macro to get current screen size to allow for difference between 3.5 and 4 inch display. Changes to layout of buttons now allowing them to display correctly on both screen sizes.
Changed the way I calculate where a new square is going to be placed.
Added code to handle json in ViewController. Added custom init method to handle creating json squares.
Renamed ViewController to BlackHoleViewController. Moved Square into Shapes folder. Added UIColor+Expanded to handle hex string passed in from JSON.
Add constants file to project with a macro for checking if screen size is the larger 4 inch display. Got code working so that the square only disappears if it touches the circle.
Added comments and change to file layout.
Added compiler warning for code handling collision detection of square and black hole. Updated README.md.
Added GitPictures folder. Added more screenshots to README.md and more detail on the application.
Change to format of README.md
Changed the way we check if a square is touching the circle. New way allows you to change the location of the black hole and everything will still work correctly.
Changes to checking for touching square with black hole. Have added a warning as the collision detection needs to be better.
Changes to formatting on README.md.
Changes to the README.md.
Added comments.