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

[TIMOB-24718]:iOS: Resolve iOS 8 deprecations for UIAlertView and UIActionSheet #9079

Merged
merged 5 commits into from Jun 20, 2017

Conversation

vijaysingh-axway
Copy link
Contributor

[self fireClickEventWithAction:action];
}];
[alertController addAction:theAction];
RELEASE_TO_NIL(alertController);
Copy link
Collaborator

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.

Copy link
Collaborator

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 ...

@hansemannn hansemannn added this to the 6.2.0 milestone May 24, 2017
}

[self retain];
[[TiApp app] showModalController:alertController animated:YES];
}
Copy link
Collaborator

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){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add space here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator

@hansemannn hansemannn left a 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.

Copy link

@htbryant94 htbryant94 left a 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.

@hansemannn hansemannn merged commit 36802f4 into tidev:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants