Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix AlertType warning; simplize code #3

Merged
merged 1 commit into from
May 6, 2014

Conversation

liaojinxing
Copy link
Contributor

  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:

mtonio91 added a commit that referenced this pull request May 6, 2014
fix AlertType warning; simplize code
@mtonio91 mtonio91 merged commit 150bf9d into mtonio91:master May 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants