mtonio91/AMSmoothAlert — pull request #3 by liaojinxing (2014-05-06 02:54:08+00:00)
Title: fix AlertType warning; simplize code

1. animationType is a AlertType, not AlertType *
2. The following two functions (initDropAlertWithTitle:andText:forAlertType: and initFadeAlertWithTitle:andText:forAlertType: ) are similar, the only difference is to set the animation type, so I abstract the same code in a private function _initViewWithTitle:andText:forAlertType: