mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Temp
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
public struct StringCodingKey: CodingKey, ExpressibleByStringLiteral {
|
||||
public var stringValue: String
|
||||
|
||||
public init?(stringValue: String) {
|
||||
self.stringValue = stringValue
|
||||
}
|
||||
|
||||
public init(_ stringValue: String) {
|
||||
self.stringValue = stringValue
|
||||
}
|
||||
|
||||
public init(stringLiteral: String) {
|
||||
self.stringValue = stringLiteral
|
||||
}
|
||||
|
||||
public var intValue: Int? {
|
||||
return nil
|
||||
}
|
||||
|
||||
public init?(intValue: Int) {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user