mirror of
https://github.com/yattee/yattee.git
synced 2025-10-09 00:48:10 +00:00
Code style changes
This commit is contained in:
@@ -4,7 +4,7 @@ import Logging
|
||||
import SwiftyJSON
|
||||
|
||||
struct BaseCacheModel {
|
||||
static var shared = BaseCacheModel()
|
||||
static var shared = Self()
|
||||
|
||||
static let jsonToDataTransformer: (JSON) -> Data = { try! $0.rawData() }
|
||||
static let jsonFromDataTransformer: (Data) -> JSON = { try! JSON(data: $0) }
|
||||
|
Reference in New Issue
Block a user