We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc14b9d + f52094d commit 2fd814dCopy full SHA for 2fd814d
Sources/ACMNetworking/Library/Utils/Plist/ACMPlistUtils.swift
@@ -10,7 +10,7 @@ import Foundation
10
public final class ACMPlistUtils {
11
public static let shared = ACMPlistUtils()
12
13
- public func config<T: Codable>(type _: T.Type? = ACMPlistModel) -> T? {
+ public func config<T: Codable>(type _: T.Type? = ACMPlistModel.self) -> T? {
14
guard let data = getData(), let plist = getList(with: data, type: T.self) else {
15
throwFatalError(with: ACMPropertyListSerializationError.fileNotParsed)
16
return nil
0 commit comments