mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 04:08:07 +00:00
17 lines
452 B
Swift
17 lines
452 B
Swift
import Foundation
|
|
import Display
|
|
|
|
class ChatMessageItemContent {
|
|
func attach(node: ASDisplayNode) {
|
|
preconditionFailure()
|
|
}
|
|
|
|
func detach() {
|
|
preconditionFailure()
|
|
}
|
|
|
|
func asyncLayout() -> (_ item: ChatMessageItem, _ width: CGFloat, _ mergedTop: Bool, _ mergedBottom: Bool, _ dateHeaderAtBottom: Bool) -> (ListViewItemNodeLayout, (ListViewItemUpdateAnimation) -> Void) {
|
|
preconditionFailure()
|
|
}
|
|
}
|