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
[TIMOB-24718]:iOS: Resolve iOS 8 deprecations for UIAlertView and UIActionSheet #9079
Conversation
[self fireClickEventWithAction:action]; | ||
}]; | ||
[alertController addAction:theAction]; | ||
RELEASE_TO_NIL(alertController); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something went wrong with the indentation starting here, making the remaining part of the PR unreadable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it doesn't. The indentation just changed because of the removed if-statement. Continuing review ...
} | ||
|
||
[self retain]; | ||
[[TiApp app] showModalController:alertController animated:YES]; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation looks weird here.
} | ||
|
||
-(void)hide:(id)args | ||
{ | ||
if (!showDialog) { | ||
return; | ||
} | ||
if (actionSheet == nil && alertController == nil){ | ||
if (alertController == nil){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add space here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one weird indentation issue in here and minor formatting. Please address those, then we should be good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved! ran test cases for OptionDialog / ActionSheet & AlertDialog / AlertView against iOS8/9/10 with Ti SDK 6.1.0.GA & Master.
https://jira.appcelerator.org/browse/TIMOB-24718