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
About Config class conflicts #37
Comments
Same problem here |
@onmyway133 The |
@onmyway133 @zenangst @RamonGilabert I think it's a bit late to rename the pod. Maybe it would be easier to rename |
Wether you change the pod name or the class name, you will introduce a BC break. I would have rename the pod name to something like : CacheKit, CacheFramework, SimpleCache, ... |
ours project have a Config class, and you Cache project have a Config class also,
now there have some conflicts both Config class,
What should I do?
let config = Cache.Config(
// Your front cache type
frontKind: .Memory,
// Your back cache type
backKind: .Disk,
// Expiry date that will be applied by default for every added object
// if it's not overridden in the add(key: object: expiry: completion:) method
expiry: .Date(NSDate().dateByAddingTimeInterval(7 * 24 * 60 * 60 * 60)),
// Maximum size of your cache storage
maxSize: 10000)
use Cache.Config also not.
The text was updated successfully, but these errors were encountered: