Fix enum type on animateWithDuration call.
Merge pull request #6 from jacksonh/master

Fix enum type on animateWithDuration call