1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
- <model userDefinedModelVersionIdentifier =" " type =" com.apple.IDECoreDataModeler.DataModel" documentVersion =" 1.0" lastSavedToolsVersion =" 10171 " systemVersion =" 15E65 " minimumToolsVersion =" Xcode 4.5" >
2
+ <model userDefinedModelVersionIdentifier =" " type =" com.apple.IDECoreDataModeler.DataModel" documentVersion =" 1.0" lastSavedToolsVersion =" 10174 " systemVersion =" 15G1004 " minimumToolsVersion =" Xcode 4.5" >
3
3
<entity name =" Child" representedClassName =" ChildMO" parentEntity =" Human" syncable =" YES" >
4
4
<attribute name =" childName" optional =" YES" attributeType =" String" syncable =" YES" />
5
5
<attribute name =" type" optional =" YES" attributeType =" Integer 16" defaultValueString =" 0" syncable =" YES" />
6
- <relationship name =" parent" optional =" YES" minCount =" 1" maxCount =" 1" deletionRule =" Nullify" destinationEntity =" Parent" inverseName =" children " inverseEntity =" Parent" indexed =" YES" syncable =" YES" />
6
+ <relationship name =" parent" optional =" YES" minCount =" 1" maxCount =" 1" deletionRule =" Nullify" destinationEntity =" Parent" inverseName =" orderedChildren " inverseEntity =" Parent" indexed =" YES" syncable =" YES" />
7
7
</entity >
8
8
<entity name =" ConcreteEntityWithCustomClass1" representedClassName =" ConcreteEntityWithCustomClass1" parentEntity =" EntitySansCustomClass2" syncable =" YES" >
9
9
<attribute name =" dummy2" optional =" YES" attributeType =" Integer 16" defaultValueString =" 0" syncable =" YES" />
52
52
<attribute name =" myString" optional =" YES" attributeType =" String" syncable =" YES" />
53
53
<attribute name =" myTransformableSansClassName" optional =" YES" attributeType =" Transformable" syncable =" YES" />
54
54
<attribute name =" parentName" optional =" YES" attributeType =" String" syncable =" YES" />
55
- <relationship name =" children" optional =" YES" toMany =" YES" deletionRule =" Cascade" destinationEntity =" Child" inverseName =" parent" inverseEntity =" Child" indexed =" YES" syncable =" YES" />
55
+ <relationship name =" children" optional =" YES" toMany =" YES" deletionRule =" Cascade" destinationEntity =" Child" indexed =" YES" syncable =" YES" />
56
+ <relationship name =" orderedChildren" optional =" YES" toMany =" YES" deletionRule =" Cascade" ordered =" YES" destinationEntity =" Child" inverseName =" parent" inverseEntity =" Child" indexed =" YES" syncable =" YES" />
56
57
</entity >
57
58
<fetchRequest name =" allHumans" entity =" Human" />
58
59
<fetchRequest name =" byHumanName" entity =" Human" predicateString =" humanName == $humanName" />
59
60
<fetchRequest name =" byParent" entity =" Child" predicateString =" parent == $parent" />
60
61
<fetchRequest name =" byParentName" entity =" Child" predicateString =" parent.parentName == $parentName" />
61
62
<fetchRequest name =" oneByHumanName" entity =" Human" predicateString =" humanName == $humanName" />
62
63
<elements >
63
- <element name =" Child" positionX =" 349" positionY =" 180" width =" 128" height =" 88 " />
64
+ <element name =" Child" positionX =" 349" positionY =" 180" width =" 128" height =" 90 " />
64
65
<element name =" ConcreteEntityWithCustomClass1" positionX =" 225" positionY =" -97" width =" 128" height =" 58" />
65
66
<element name =" ConcreteEntityWithCustomClass2" positionX =" 405" positionY =" -99" width =" 128" height =" 58" />
66
67
<element name =" EntitySansCustomClass" positionX =" 502" positionY =" 90" width =" 128" height =" 60" />
67
68
<element name =" EntitySansCustomClass2" positionX =" 295" positionY =" -189" width =" 128" height =" 58" />
68
69
<element name =" EntityWithBaseClass" positionX =" 342" positionY =" 18" width =" 128" height =" 60" />
69
70
<element name =" Human" positionX =" 169" positionY =" 18" width =" 128" height =" 105" />
70
- <element name =" Parent" positionX =" 34" positionY =" 114" width =" 128" height =" 255 " />
71
+ <element name =" Parent" positionX =" 34" positionY =" 114" width =" 128" height =" 270 " />
71
72
</elements >
72
73
</model >
0 commit comments