diff --git a/VDS/Components/Label/Attributes/LabelAttributeColor.swift b/VDS/Components/Label/Attributes/LabelAttributeColor.swift index 977d3c6e..b04a0e5a 100644 --- a/VDS/Components/Label/Attributes/LabelAttributeColor.swift +++ b/VDS/Components/Label/Attributes/LabelAttributeColor.swift @@ -14,7 +14,7 @@ public struct LabelAttributeColor: LabelAttributeModel { //-------------------------------------------------- public var location: Int public var length: Int - @CodableColor public var color: UIColor + public var color: UIColor //-------------------------------------------------- // MARK: - Initializer //-------------------------------------------------- diff --git a/VDS/Components/Label/Attributes/LabelAttributeFont.swift b/VDS/Components/Label/Attributes/LabelAttributeFont.swift index c1dccc53..767f5270 100644 --- a/VDS/Components/Label/Attributes/LabelAttributeFont.swift +++ b/VDS/Components/Label/Attributes/LabelAttributeFont.swift @@ -15,7 +15,7 @@ public struct LabelAttributeFont: LabelAttributeModel { public var location: Int public var length: Int public var style: TypographicalStyle - @CodableColor public var color: UIColor + public var color: UIColor //-------------------------------------------------- // MARK: - Initializer //-------------------------------------------------- diff --git a/VDS/Components/Label/Attributes/LabelAttributeModel.swift b/VDS/Components/Label/Attributes/LabelAttributeModel.swift index 0341b477..75e14f69 100644 --- a/VDS/Components/Label/Attributes/LabelAttributeModel.swift +++ b/VDS/Components/Label/Attributes/LabelAttributeModel.swift @@ -8,7 +8,7 @@ import Foundation import UIKit -public protocol LabelAttributeModel: Codable { +public protocol LabelAttributeModel { var location: Int { get set } var length: Int { get set } func setAttribute(on attributedString: NSMutableAttributedString) diff --git a/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift b/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift index 83a19a37..f7784711 100644 --- a/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift +++ b/VDS/Components/Label/Attributes/LabelAttributeUnderline.swift @@ -11,7 +11,7 @@ import UIKit public struct LabelAttributeUnderline: LabelAttributeModel { public var location: Int public var length: Int - @OptionalCodableColor public var color: UIColor? + public var color: UIColor? public var style: UnderlineStyle = .single public var pattern: UnderlineStyle.Pattern?