update json func
This commit is contained in:
parent
1b06d7007b
commit
fe9131f3c6
@ -34,10 +34,8 @@ import UIKit
|
||||
}
|
||||
|
||||
override open func setWithJSON(_ json: [AnyHashable : Any]?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) {
|
||||
super.setWithJSON(json, delegateObject: delegateObject, additionalData: additionalData)
|
||||
guard let graphModel = graphModel else { return }
|
||||
createGraphCircle(graphModel)
|
||||
rotationAnimation(graphModel)
|
||||
guard let json = json, let model = try? Self.decodeJSONToModel(json: json, type: CircleProgressModel.self) else { return }
|
||||
setWithModel(model, delegateObject, additionalData)
|
||||
}
|
||||
|
||||
class func getAngle(_ piValue: Double) -> Double {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user