Created
January 14, 2023 16:31
-
-
Save ricardopsantos/56a73031f997191ff5f66702e7d5cb45 to your computer and use it in GitHub Desktop.
Article_13_G5.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
public protocol CodableCacheManagerProtocol { | |
func syncStore<T: Codable>(_ codable: T, key: String, params: [String], timeToLiveMinutes: Int?) | |
func syncRetrieve<T: Codable>(_ type: T.Type, key: String, params: [String]) -> (model: T, recordDate: Date)? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment