mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
567 B
Swift
16 lines
567 B
Swift
import Foundation
|
|
import UIKit
|
|
import Display
|
|
import TelegramCore
|
|
import TelegramPresentationData
|
|
|
|
public protocol ShareContentContainerNode: AnyObject {
|
|
func activate()
|
|
func deactivate()
|
|
func setEnsurePeerVisibleOnLayout(_ peerId: EnginePeer.Id?)
|
|
func setContentOffsetUpdated(_ f: ((CGFloat, ContainedViewLayoutTransition) -> Void)?)
|
|
func updateLayout(size: CGSize, isLandscape: Bool, bottomInset: CGFloat, transition: ContainedViewLayoutTransition)
|
|
func updateTheme(_ theme: PresentationTheme)
|
|
func updateSelectedPeers(animated: Bool)
|
|
}
|