mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
507 B
Swift
16 lines
507 B
Swift
import Foundation
|
|
import UIKit
|
|
import AccountContext
|
|
import AsyncDisplayKit
|
|
|
|
public protocol ChatMessageTransitionNodeDecorationItemNode: ASDisplayNode {
|
|
var contentView: UIView { get }
|
|
}
|
|
|
|
public protocol ChatMessageTransitionNode: AnyObject {
|
|
typealias DecorationItemNode = ChatMessageTransitionNodeDecorationItemNode
|
|
|
|
func add(decorationView: UIView, itemNode: ChatMessageItemNodeProtocol, aboveEverything: Bool) -> DecorationItemNode
|
|
func remove(decorationNode: DecorationItemNode)
|
|
}
|