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

Caching for Swift 3 's data type #100

Open
vminc opened this issue Jun 17, 2017 · 1 comment
Open

Caching for Swift 3 's data type #100

vminc opened this issue Jun 17, 2017 · 1 comment

Comments

@vminc
Copy link

vminc commented Jun 17, 2017

This is a great library however I cannot make the Cache works with Swift 3's Data type, because Data doesn't conform to NSCoding. Is there a plan to support this use case?

@aschuch
Copy link
Owner

aschuch commented Jun 19, 2017

I definitely plan to update the framework for the Codable protocol that will arrive with Swift 4.
In the meantime, the only thing that comes to mind is actually casting Data to NSData.

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

No branches or pull requests

2 participants