AwesomeCache
AwesomeCache copied to clipboard
AsesomeCache couldn't support Arrays?
AsesomeCache couldn't support Arrays? like let users = [User]?
Is this project dead to not answer such a simple question?
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.
I think this lib must provide an array extension to NSCoding.
@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.
?