Complete rename across all bundle IDs, App Groups, CloudKit containers, StoreKit product IDs, data store filenames, URL schemes, logger subsystems, Swift identifiers, user-facing strings (7 languages), file names, directory names, Xcode project, schemes, assets, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
506 B
Swift
24 lines
506 B
Swift
//
|
|
// SharingTemplate.swift
|
|
// Reflect (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 }
|
|
}
|