save image in core data
This commit is contained in:
parent
bcf4fd909e
commit
e2036f202f
2 changed files with 10 additions and 2 deletions
|
|
@ -6,6 +6,7 @@
|
|||
<relationship name="password" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="PasswordEntity" inverseName="categories" inverseEntity="PasswordEntity" syncable="YES"/>
|
||||
</entity>
|
||||
<entity name="PasswordEntity" representedClassName="PasswordEntity" syncable="YES" codeGenerationType="class">
|
||||
<attribute name="image" optional="YES" attributeType="Binary" syncable="YES"/>
|
||||
<attribute name="name" attributeType="String" syncable="YES"/>
|
||||
<attribute name="raw" optional="YES" attributeType="Binary" syncable="YES"/>
|
||||
<attribute name="rawPath" attributeType="String" syncable="YES"/>
|
||||
|
|
@ -13,6 +14,6 @@
|
|||
</entity>
|
||||
<elements>
|
||||
<element name="PasswordCategoryEntity" positionX="115" positionY="-9" width="128" height="90"/>
|
||||
<element name="PasswordEntity" positionX="-63" positionY="-18" width="128" height="105"/>
|
||||
<element name="PasswordEntity" positionX="-63" positionY="-18" width="128" height="120"/>
|
||||
</elements>
|
||||
</model>
|
||||
Loading…
Add table
Add a link
Reference in a new issue