|
@@ -14,6 +14,10 @@ public extension String {
|
|
return UIColor.fromHex(self)
|
|
return UIColor.fromHex(self)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ var uiCGColor: CGColor {
|
|
|
|
+ uiColor.cgColor
|
|
|
|
+ }
|
|
|
|
+
|
|
var localFilePath: String {
|
|
var localFilePath: String {
|
|
var path = self
|
|
var path = self
|
|
if path.lowercased().hasPrefix("file://") {
|
|
if path.lowercased().hasPrefix("file://") {
|