diff --git a/Sources/SDCALayer/Model/Layer/JCAGradientLayer.swift b/Sources/SDCALayer/Model/Layer/JCAGradientLayer.swift index 5b85203..cb6bec9 100644 --- a/Sources/SDCALayer/Model/Layer/JCAGradientLayer.swift +++ b/Sources/SDCALayer/Model/Layer/JCAGradientLayer.swift @@ -14,7 +14,11 @@ open class JCAGradientLayer: JCALayer { public typealias Target = CAGradientLayer private enum CodingKeys: String, CodingKey { - case colors, locations, startPoint, endPoint, type + case colors + case locations + case startPoint + case endPoint + case type } open override class var targetTypeName: String { diff --git a/Sources/SDCALayer/Model/Layer/JCAShapeLayer.swift b/Sources/SDCALayer/Model/Layer/JCAShapeLayer.swift index 3085eaf..2c0f392 100644 --- a/Sources/SDCALayer/Model/Layer/JCAShapeLayer.swift +++ b/Sources/SDCALayer/Model/Layer/JCAShapeLayer.swift @@ -14,7 +14,18 @@ open class JCAShapeLayer: JCALayer { typealias Target = CAShapeLayer private enum CodingKeys: String, CodingKey { - case path, fillColor, fillRule, strokeColor, strokeStart, strokeEnd, lineWidth, miterLimit, lineCap, lineJoin, lineDashPhase, lineDashPattern + case path + case fillColor + case fillRule + case strokeColor + case strokeStart + case strokeEnd + case lineWidth + case miterLimit + case lineCap + case lineJoin + case lineDashPhase + case lineDashPattern } open override class var targetTypeName: String { diff --git a/Sources/SDCALayer/Model/Layer/JCATextLayer.swift b/Sources/SDCALayer/Model/Layer/JCATextLayer.swift index c487847..dea63f4 100644 --- a/Sources/SDCALayer/Model/Layer/JCATextLayer.swift +++ b/Sources/SDCALayer/Model/Layer/JCATextLayer.swift @@ -15,7 +15,14 @@ open class JCATextLayer: JCALayer { typealias Target = CATextLayer private enum CodingKeys: String, CodingKey { - case string, font, fontSize, foregroundColor, isWrapped, truncationMode, alignmentMode, allowsFontSubpixelQuantization + case string + case font + case fontSize + case foregroundColor + case isWrapped + case truncationMode + case alignmentMode + case allowsFontSubpixelQuantization } open override class var targetTypeName: String {