mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
13
TelegramUI/ChatHistoryNode.swift
Normal file
13
TelegramUI/ChatHistoryNode.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user