FileUtility
public struct FileUtility
Undocumented
-
Undocumented
Declaration
Swift
func writeValue<E>(_ value: E?, fileName: String, encoder: JSONEncoder? = nil) throws where E : Encodable
-
Undocumented
Declaration
Swift
func readValue<D>(atFile fileName: String, decoder: JSONDecoder? = nil) throws -> D where D : Decodable
-
Undocumented
Declaration
Swift
func removeFile(named fileName: String) throws