Sets all entity attributes for monster to default to empty string instead of null. Adds test for copyFromMonster. Makes initWithMonster:andContext call copyFromMonster to ensure they use the same logic to clone the other monster.
13 lines
953 B
XML
13 lines
953 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19G2021" minimumToolsVersion="Automatic" sourceLanguage="Objective-C" usedWithCloudKit="YES" userDefinedModelVersionIdentifier="">
|
|
<entity name="Monster" representedClassName="Monster" syncable="YES" codeGenerationType="category">
|
|
<attribute name="alignment" attributeType="String" defaultValueString=""/>
|
|
<attribute name="name" attributeType="String" defaultValueString=""/>
|
|
<attribute name="size" attributeType="String" defaultValueString=""/>
|
|
<attribute name="subtype" attributeType="String" defaultValueString=""/>
|
|
<attribute name="type" attributeType="String" defaultValueString=""/>
|
|
</entity>
|
|
<elements>
|
|
<element name="Monster" positionX="-63" positionY="-18" width="128" height="118"/>
|
|
</elements>
|
|
</model> |