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 eaa853d33f
commit dd600e5e7e
18 changed files with 952 additions and 19 deletions
@@ -20,6 +20,12 @@ import Foundation
@objcMembers
final class RoomBubbleCellLayout: NSObject {
// URL Previews
static let urlPreviewViewTopMargin: CGFloat = 8.0
static let urlPreviewViewHeight: CGFloat = 247.0
static let urlPreviewViewWidth: CGFloat = 267.0
// Reactions
static let reactionsViewTopMargin: CGFloat = 1.0