Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Minor Supersign cleanup

kabiroberaicb54463d297d
diff --git a/Supersign/GrandSlam/Requests/GrandSlamRequest.swift b/Supersign/GrandSlam/Requests/GrandSlamRequest.swift
index fb6259a..2be83ac 100644
--- a/Supersign/GrandSlam/Requests/GrandSlamRequest.swift
+++ b/Supersign/GrandSlam/Requests/GrandSlamRequest.swift
@@ -20,18 +20,6 @@ enum GrandSlamMethod {
}
}
-//enum GrandSlamDecodeStrategy<T: Decodable> {
-// case always(T)
-// case plist
-//
-// func decode(data: Data) throws -> T {
-// switch self {
-// case .always(let value): return value
-// case .plist: return try PropertyListDecoder().decode(T.self, from: data)
-// }
-// }
-//}
-
protocol GrandSlamDataDecoder {
associatedtype Value
static func decode(data: Data) throws -> Value