Extensions
-
Alderis provides extensions to
See moreUIColor
for the purpose of serializing and deserializing colors into representations that can be stored in property lists, JSON, and similar formats.Declaration
Swift
public extension UIColor
-
ColorPropertyListValue is a protocol representing types that can be passed to the\
UIColor.init(propertyListValue:)
initialiser.String
andArray
both conform to this type.Declaration
Swift
public protocol ColorPropertyListValue
-
A string can represent a
ColorPropertyListValue
.Declaration
Swift
extension String: ColorPropertyListValue
-
An array of integers can represent a
ColorPropertyListValue
.Declaration
Swift
extension Array: ColorPropertyListValue where Element: FixedWidthInteger