Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
82 additions
and
106 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
76 changes: 76 additions & 0 deletions
76
ChatSDKCoreData/Assets/ChatSDK.xcdatamodeld/DataModel v026.xcdatamodel/contents
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="17511" systemVersion="20B29" minimumToolsVersion="Xcode 9.0" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier=""> | ||
<entity name="CDMessage" representedClassName="CDMessage" syncable="YES"> | ||
<attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="delivered" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="entityID" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="flagged" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="meta" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="placeholder" optional="YES" attributeType="Binary" syncable="YES"/> | ||
<attribute name="read" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="readStatus" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="status" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="userAccountID" optional="YES" attributeType="String" syncable="YES"/> | ||
<relationship name="nextMessage" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDMessage" inverseName="previousMessage" inverseEntity="CDMessage" syncable="YES"/> | ||
<relationship name="previousMessage" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDMessage" inverseName="nextMessage" inverseEntity="CDMessage" syncable="YES"/> | ||
<relationship name="thread" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDThread" inverseName="messages" inverseEntity="CDThread" syncable="YES"/> | ||
<relationship name="user" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDUser" inverseName="messages" inverseEntity="CDUser" syncable="YES"/> | ||
<uniquenessConstraints> | ||
<uniquenessConstraint> | ||
<constraint value="entityID"/> | ||
<constraint value="userAccountID"/> | ||
</uniquenessConstraint> | ||
</uniquenessConstraints> | ||
</entity> | ||
<entity name="CDThread" representedClassName="CDThread" syncable="YES"> | ||
<attribute name="creationDate" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="deletedDate" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="draft" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="entityID" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="meta" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="userAccountID" optional="YES" attributeType="String" syncable="YES"/> | ||
<relationship name="creator" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDUser" inverseName="threadsCreated" inverseEntity="CDUser" syncable="YES"/> | ||
<relationship name="messages" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="CDMessage" inverseName="thread" inverseEntity="CDMessage" syncable="YES"/> | ||
<relationship name="users" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="CDUser" inverseName="threads" inverseEntity="CDUser" syncable="YES"/> | ||
<uniquenessConstraints> | ||
<uniquenessConstraint> | ||
<constraint value="entityID"/> | ||
<constraint value="userAccountID"/> | ||
</uniquenessConstraint> | ||
</uniquenessConstraints> | ||
</entity> | ||
<entity name="CDUser" representedClassName="CDUser" syncable="YES"> | ||
<attribute name="entityID" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="image" optional="YES" attributeType="Binary" allowsExternalBinaryDataStorage="YES" syncable="YES"/> | ||
<attribute name="lastOnline" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="meta" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="online" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="userAccountID" optional="YES" attributeType="String" syncable="YES"/> | ||
<relationship name="messages" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="CDMessage" inverseName="user" inverseEntity="CDMessage" syncable="YES"/> | ||
<relationship name="threads" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="CDThread" inverseName="users" inverseEntity="CDThread" syncable="YES"/> | ||
<relationship name="threadsCreated" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="CDThread" inverseName="creator" inverseEntity="CDThread" syncable="YES"/> | ||
<relationship name="userConnections" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="CDUserConnection" inverseName="owner" inverseEntity="CDUserConnection" syncable="YES"/> | ||
<uniquenessConstraints> | ||
<uniquenessConstraint> | ||
<constraint value="entityID"/> | ||
<constraint value="userAccountID"/> | ||
</uniquenessConstraint> | ||
</uniquenessConstraints> | ||
</entity> | ||
<entity name="CDUserConnection" representedClassName="CDUserConnection" syncable="YES"> | ||
<attribute name="entityID" optional="YES" attributeType="String" syncable="YES"/> | ||
<attribute name="meta" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromData" syncable="YES"/> | ||
<attribute name="type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/> | ||
<attribute name="userAccountID" optional="YES" attributeType="String" syncable="YES"/> | ||
<relationship name="owner" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="CDUser" inverseName="userConnections" inverseEntity="CDUser" syncable="YES"/> | ||
</entity> | ||
<elements> | ||
<element name="CDMessage" positionX="-225" positionY="99" width="128" height="268"/> | ||
<element name="CDThread" positionX="-309.0703125" positionY="-247.68359375" width="128" height="208"/> | ||
<element name="CDUser" positionX="-671.1875" positionY="-230.85546875" width="128" height="193"/> | ||
<element name="CDUserConnection" positionX="-945" positionY="-271" width="128" height="104"/> | ||
</elements> | ||
</model> |
33 changes: 0 additions & 33 deletions
33
ChatSDKCoreData/Classes/Entities/CDGroup+CoreDataProperties.h
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
ChatSDKCoreData/Classes/Entities/CDGroup+CoreDataProperties.m
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters