update json func

This commit is contained in:
Pfeil, Scott Robert 2020-01-13 10:22:04 -05:00
parent 1b06d7007b
commit fe9131f3c6

View File

@ -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 {