Created
March 5, 2017 20:12
-
-
Save insidegui/7c862fa6226d8ecac72a4f137f699c46 to your computer and use it in GitHub Desktop.
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
extension CKRecord { | |
subscript(key: MovieKey) -> Any? { | |
get { | |
return self[key.rawValue] | |
} | |
set { | |
self[key.rawValue] = newValue as? CKRecordValue | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment