Last active
January 14, 2023 16:04
-
-
Save ricardopsantos/b46eabcedc2f2baee07652b4549c9e49 to your computer and use it in GitHub Desktop.
Article_13_G2.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExpiringCodableObjectWithKey: Codable { | |
var key: String! // Cache key (built using api request name and parameters) | |
var object: Data! // Value to be stored | |
var expireDate: Date! // The limit date in witch we can retried the object | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment