Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
brunnerjosh wants to merge 1 commit intoraspu:masterfrom
brunnerjosh:ios-13-deployment-target
Open

Optional support for deployment targets: iOS 13 & OSX 10.15#81
brunnerjosh wants to merge 1 commit intoraspu:masterfrom
brunnerjosh:ios-13-deployment-target

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 force-pushed the ios-13-deployment-target branch from 12343bd to 102b0da Compare December 15, 2020 18:20
@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.

2 participants