Skip to content

Conversation

Nadohs
Copy link
Collaborator

@Nadohs Nadohs commented Oct 17, 2019

Adds availability check to either use
new api to unarchive data, or fallback
to deprecated ones on older ios/mac
versions.

addresses issue:
#17

@nikhilbedi
Copy link
Contributor

Have we tested that both branches work as expected?

@Nadohs
Copy link
Collaborator Author

Nadohs commented Oct 17, 2019

the existing tests check for archiving and unarchiving working properly for iOS 11+ and macOS 13+, which is the majority of use-cases anyways.
The else case here defaults to the usage we had before, on older OS versions before the above replacement API was introduced...
I've manually tested the else path, but there are no tests for it.

Adds availability check to either use
new api to unarchive data, or fallback
to deprecated ones on older ios/mac
versions.
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