This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
infix operator <<< | |
class Entity : CustomDebugStringConvertible { | |
static func <<<(_ image: Entity, assignment: (ReferenceWritableKeyPath<Entity, String?>, key: Entity.Keys, source: [String : Any])) { | |
let keypath = assignment.0 | |
let value = assignment.source[assignment.key.rawValue] | |
if value != nil { | |
image[keyPath: keypath] = String(describing: value!) | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bplist00‘ | |
X$versionY$archiverT$topX$objects ܆_NSKeyedArchiver— TrootĶ%U$null’ | |
\NSComponentsUNSRGB\NSColorSpace_NSCustomColorSpaceV$classO(0.4156862745 0.4941176471 0.5490196078 1O&0.3428871334 0.4180642962 0.475117445 ÄÄ”TNSIDUNSICCÄÄOH HLino mntrRGB XYZ Œ 1 acspMSFT IEC sRGB ˆ÷ ”-HP cprt P 3desc Ñ lwtpt bkpt rXYZ gXYZ , bXYZ @ dmnd T pdmdd ƒ àvued L Üview ‘ $lumi ¯ meas $tech 0 rTRC < |