Updated animation method.
Added CocoaDocs documentation.