Bouncing ball side to side

Added Controller and RunLoop to it
Changed Ball’s point to x and y
Accelerator function added to UIViewController
movingObject superclasses ball

inserted movingObject into the UIViewController to insert other shapes
easily
Container for the movingObject
movingObjectContainer
Visitor for drawing balls or squares
Ball bounces off sides
forceRatio unneeded

Changed it to a simple constant
edge threshold and forceRatio bug

forceRatio wasn’t initialized.
Replaced with 1 to bounce off walls without any gain or loss of speed
Moved initialization to controller

Shouldn’t initialize everything in the main program
Unneeded methods and initialization