mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
14 lines
585 B
Swift
14 lines
585 B
Swift
import Foundation
|
|
import AsyncDisplayKit
|
|
|
|
public protocol MinimizedContainer: ASDisplayNode {
|
|
var willMaximize: (() -> Void)? { get set }
|
|
|
|
func addController(_ viewController: ViewController, transition: ContainedViewLayoutTransition)
|
|
func maximizeController(_ viewController: ViewController, animated: Bool, completion: @escaping (Bool) -> Void)
|
|
func dismissAll(completion: @escaping () -> Void)
|
|
|
|
func updateLayout(_ layout: ContainerViewLayout, transition: ContainedViewLayoutTransition)
|
|
func collapsedHeight(layout: ContainerViewLayout) -> CGFloat
|
|
}
|