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

Optional support for deployment targets: iOS 13 & OSX 10.15 #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brunnerjosh
Copy link

@brunnerjosh brunnerjosh commented Dec 15, 2020

I was updating my iOS app to have a minimum deployment target of iOS 13 and noticed that this library used a couple of deprecated APIs. I wanted to be able to pitch in and help modernize the code while still providing backward compatibility to existing users. In doing so, I left the majority of the code in place while simply wrapping the old/new API uses in #available checks. Let me know if you'd like me to make any changes to my approach (refactoring out to helpers, etc.). Thanks!

I did verify these changes locally in the iOS app I'm working on. Please let me know if there are any other verifications that you'd like to see. I'll attach a screenshot showing that the rendering doesn't change between iOS 12 and iOS 13.

Screen Shot 2020-12-15 at 9 53 23 AM
Screen Shot 2020-12-15 at 10 28 25 AM

@brunnerjosh brunnerjosh changed the title Minimum deployment target updates: iOS 12 -> 13, macOS 10.10 -> 10.15 Optional support for minimum deployment target updates: iOS 13 & OSX 10.15 Dec 15, 2020
@brunnerjosh brunnerjosh changed the title Optional support for minimum deployment target updates: iOS 13 & OSX 10.15 Optional support for deployment targets: iOS 13 & OSX 10.15 Dec 15, 2020
@RobertoMachorro
Copy link
Collaborator

@brunnerjosh thanks for your contribution! I just checked the code and it builds and works as expected, however Codebeat is reporting 6 introduced issues, would it be possible for you to resolve these?

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