mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
21 lines
591 B
Swift
21 lines
591 B
Swift
/*
|
|
Copyright 2019-2024 New Vector Ltd.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
import Foundation
|
|
|
|
/// `SlidingModalPresentable` is a protocol describing a UI element to present modally using `SlidingModalPresenter`.
|
|
@objc protocol SlidingModalPresentable {
|
|
|
|
typealias ViewType = UIView & SlidingModalPresentable
|
|
|
|
typealias ViewControllerType = UIViewController & SlidingModalPresentable
|
|
|
|
func allowsDismissOnBackgroundTap() -> Bool
|
|
|
|
func layoutHeightFittingWidth(_ width: CGFloat) -> CGFloat
|
|
}
|