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

AsesomeCache couldn't support Arrays? #70

Open
arden opened this issue Jun 2, 2016 · 5 comments
Open

AsesomeCache couldn't support Arrays? #70

arden opened this issue Jun 2, 2016 · 5 comments

Comments

@arden
Copy link

arden commented Jun 2, 2016

AsesomeCache couldn't support Arrays? like let users = [User]?

@simoami
Copy link

simoami commented Jul 8, 2016

Is this project dead to not answer such a simple question?

@aschuch
Copy link
Owner

aschuch commented Jul 8, 2016

I am quite busy at the moment, hence my late reply.
Did you make sure User conforms to the NSCoding protocol? AwesomeCache uses the NSCoding protocol in order to persist cached objects to disk.

@jonasman
Copy link

I think this lib must provide an array extension to NSCoding.

@zgosalvez
Copy link

@aschuch I have a similar requirement. The User class conforms to NSCoding, but Cache<[User]> shows a "Type '[User]' does not conform to to protocol NSCoding" error. So I have to agree with @jonasman.

@siyavash4812
Copy link

?

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

6 participants