no message

This commit is contained in:
Peter
2016-10-07 19:14:56 +03:00
parent cb5a81670d
commit a68d6f31c1
79 changed files with 5487 additions and 872 deletions

View 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)
}