fixes
This commit is contained in:
parent
d38b521c66
commit
1b99abdb6e
@ -44,10 +44,6 @@ extension KeyedDecodingContainer where Key : CodingKey{
|
|||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
public func decode(codingKey: KeyedDecodingContainer<K>.Key) throws -> ActionMapModel {
|
|
||||||
return try decode(codingKey: codingKey, typeCodingKey: TypeCodingKey.actionMap)
|
|
||||||
}
|
|
||||||
|
|
||||||
//MARK: - DecodeIfPresent
|
//MARK: - DecodeIfPresent
|
||||||
public func decodeIfPresent<T, C:CodingKey>(codingKey: KeyedDecodingContainer<K>.Key, typeCodingKey: C) throws -> T? {
|
public func decodeIfPresent<T, C:CodingKey>(codingKey: KeyedDecodingContainer<K>.Key, typeCodingKey: C) throws -> T? {
|
||||||
|
|
||||||
@ -73,10 +69,6 @@ extension KeyedDecodingContainer where Key : CodingKey{
|
|||||||
}
|
}
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
public func decodeIfPresent(codingKey: KeyedDecodingContainer<K>.Key) throws -> ActionMapModel? {
|
|
||||||
return try decodeIfPresent(codingKey: codingKey, typeCodingKey: TypeCodingKey.actionMap)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user