mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
14 lines
447 B
Swift
14 lines
447 B
Swift
import Foundation
|
|
import Postbox
|
|
import SwiftSignalKit
|
|
import Display
|
|
|
|
public protocol ChatHistoryNode: class {
|
|
var historyReady: Promise<Bool> { get }
|
|
var preloadPages: Bool { get set }
|
|
|
|
func messageInCurrentHistoryView(_ id: MessageId) -> Message?
|
|
func updateLayout(transition: ContainedViewLayoutTransition, updateSizeAndInsets: ListViewUpdateSizeAndInsets)
|
|
func forEachItemNode(_ f: @noescape(ASDisplayNode) -> Void)
|
|
}
|