@@ -121,12 +121,6 @@ ManagedModels has no other dependencies.
121121 [ ` NSManagedObject ` ] ( https://developer.apple.com/documentation/coredata/nsmanagedobject )
122122 (superclasses can't be added by macros),
123123 e.g. ` @Model class Person: NSManagedObject ` .
124- - ToMany relationships must be a ` Set<Target> ` , a plain ` [ Target ] ` cannot be
125- used (yet?). E.g. ` var contacts : Set<Contact> ` .
126- - Properties cannot be initialized in the declaration,
127- e.g. this doesn't work: ` var uuid = UUID() ` .
128- Must be done in an initializers (requirement by ` @NSManaged ` ).
129- - CoreData doesn't seem to support optional Swift base types like ` Int? ` .
130124- Uses the CoreData ` @FetchRequest ` property wrapper instead ` @Query ` .
131125- Doesn't use the new
132126 [ Observation] ( https://developer.apple.com/documentation/observation )
@@ -137,13 +131,10 @@ ManagedModels has no other dependencies.
137131
138132#### TODO
139133
140- - [x] Archiving/Unarchiving, required for migration.
141134- [ ] Figure out whether we can do ordered attributes: [ Issue #1 ] ( https://github.com/Data-swift/ManagedModels/issues/1 ) .
142- - [x] Figure out whether we can add support for array toMany properties: [ Issue #2 ] ( https://github.com/Data-swift/ManagedModels/issues/2 )
143135- [ ] Support for "autosave": [ Issue #3 ] ( https://github.com/Data-swift/ManagedModels/issues/3 )
144136- [ ] Support transformable types, not sure they work right yet: [ Issue #4 ] ( https://github.com/Data-swift/ManagedModels/issues/4 )
145137- [ ] Generate property initializers if the user didn't specify any inits: [ Issue #5 ] ( https://github.com/Data-swift/ManagedModels/issues/5 )
146- - [x] Generate ` fetchRequest() ` class function.
147138- [ ] Support SchemaMigrationPlan/MigrationStage: [ Issue #6 ] ( https://github.com/Data-swift/ManagedModels/issues/6 )
148139- [ ] Write more tests.
149140- [ ] Write DocC docs: [ Issue #7 ] ( https://github.com/Data-swift/ManagedModels/issues/7 ) , [ Issue #8 ] ( https://github.com/Data-swift/ManagedModels/issues/8 )
@@ -154,6 +145,9 @@ ManagedModels has no other dependencies.
154145 - [ ] SwiftUI ` @Query ` property wrapper/macro?: [ Issue 12] ( https://github.com/Data-swift/ManagedModels/issues/12 )
155146- [ ] Figure out all the cloud sync options SwiftData has and whether CoreData
156147 can do them: [ Issue 13] ( https://github.com/Data-swift/ManagedModels/issues/13 )
148+ - [x] Archiving/Unarchiving, required for migration.
149+ - [x] Figure out whether we can add support for array toMany properties: [ Issue #2 ] ( https://github.com/Data-swift/ManagedModels/issues/2 )
150+ - [x] Generate ` fetchRequest() ` class function.
157151- [x] Figure out whether we can allow initialized properties
158152 (` var title = "No Title" ` ): [ Issue 14] ( https://github.com/Data-swift/ManagedModels/issues/14 )
159153
0 commit comments