Add PreviewManger with Core Data cache and a URLPreviewView with a view model.

Changes to RoomDataSource still to come.
This commit is contained in:
Doug
2021-08-23 17:56:24 +01:00
parent 0df68ad65a
commit 7ba054f6c9
18 changed files with 952 additions and 19 deletions
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="18154" systemVersion="20G95" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
<entity name="URLPreviewCacheData" representedClassName="URLPreviewCacheData" syncable="YES" codeGenerationType="class">
<attribute name="creationDate" attributeType="Date" usesScalarValueType="NO"/>
<attribute name="image" optional="YES" attributeType="Transformable" valueTransformerName="URLPreviewImageTransformer"/>
<attribute name="siteName" optional="YES" attributeType="String"/>
<attribute name="text" optional="YES" attributeType="String"/>
<attribute name="title" optional="YES" attributeType="String"/>
<attribute name="url" attributeType="URI"/>
</entity>
<elements>
<element name="URLPreviewCacheData" positionX="0" positionY="0" width="0" height="0"/>
</elements>
</model>