This commit is contained in:
Trey t
2025-12-09 23:37:04 -06:00
parent 3a10b4b8d6
commit f2565678be
1587 changed files with 7747 additions and 647 deletions

View File

@@ -0,0 +1,23 @@
//
// SharingTemplate.swift
// Feels (iOS)
//
// Created by Trey Tartt on 2/6/22.
//
import Foundation
import SwiftUI
protocol SharingTemplate {
associatedtype MainView : View
associatedtype Preview : View
var startDate: Date { get }
var endDate: Date { get }
var isPreview: Bool { get }
var image: UIImage { get }
static var description: String { get }
@ViewBuilder var mainView: Self.MainView { get }
@ViewBuilder var preview: Self.Preview { get }
}