Created
August 25, 2020 17:38
-
-
Save ggirotto/b19da6b44f5bc271a9c1e0c20fa7f7b3 to your computer and use it in GitHub Desktop.
Revisions
-
ggirotto created this gist
Aug 25, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ struct School: CKCodable { var cloudKitRecordType: String { return "School" } var cloudKitIdentifier: String { return id } var id = UUID().uuidString var name: String! var location: CLLocation! var students: [Person]! var director: Person! var books: [Book]! }