mastodon-ios/Mastodon/Scene/Transition/MediaPreview/MediaPreviewTransitionViewC...

21 lines
457 B
Swift

//
// MediaPreviewTransitionViewController.swift
// TwidereX
//
// Created by MainasuK on 2021-12-8.
// Copyright © 2021 Twidere. All rights reserved.
//
import UIKit
protocol MediaPreviewTransitionViewController: UIViewController {
var mediaPreviewTransitionContext: MediaPreviewTransitionContext? { get }
}
struct MediaPreviewTransitionContext {
let transitionView: UIView
let snapshot: UIView
let snapshotTransitioning: UIView
}