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

Refactor iPhone X fix #183

Merged
merged 2 commits into from
Oct 17, 2017
Merged

Refactor iPhone X fix #183

merged 2 commits into from
Oct 17, 2017

Conversation

zenangst
Copy link
Contributor

This commit refactors the iPhone X fix
(#179) to reduce the amount of
#available(iOS 11.0, *) annotations.

This commit refactors the iPhone X fix
(#179) to reduce the amount of
`#available(iOS 11.0, *)` annotations.
@zenangst zenangst changed the title Refactor/iphone x fix Refactor iPhone X fix Oct 17, 2017
@zenangst
Copy link
Contributor Author

Yay, Travis works again!

@zenangst zenangst mentioned this pull request Oct 17, 2017
@onmyway133
Copy link
Contributor

@vadymmarkov @zenangst 🚀

@zenangst zenangst merged commit 7cc1511 into master Oct 17, 2017
@zenangst zenangst deleted the refactor/iphone-x-fix branch October 17, 2017 10:31
var safeYCoordinate: CGFloat {
let y: CGFloat
if #available(iOS 11.0, *) {
y = safeAreaInsets.top
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

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.

3 participants