mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various Improvements
This commit is contained in:
@@ -20,6 +20,7 @@ public protocol PeekControllerContent {
|
||||
func node() -> PeekControllerContentNode & ASDisplayNode
|
||||
|
||||
func topAccessoryNode() -> ASDisplayNode?
|
||||
func fullScreenAccessoryNode() -> (PeekControllerAccessoryNode & ASDisplayNode)?
|
||||
|
||||
func isEqual(to: PeekControllerContent) -> Bool
|
||||
}
|
||||
@@ -27,3 +28,7 @@ public protocol PeekControllerContent {
|
||||
public protocol PeekControllerContentNode {
|
||||
func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition) -> CGSize
|
||||
}
|
||||
|
||||
public protocol PeekControllerAccessoryNode {
|
||||
func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user