mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
20 lines
592 B
Swift
20 lines
592 B
Swift
import Foundation
|
|
import UIKit
|
|
import AsyncDisplayKit
|
|
import Display
|
|
|
|
public protocol ItemListControllerFooterItem {
|
|
func isEqual(to: ItemListControllerFooterItem) -> Bool
|
|
func node(current: ItemListControllerFooterItemNode?) -> ItemListControllerFooterItemNode
|
|
}
|
|
|
|
open class ItemListControllerFooterItemNode: ASDisplayNode {
|
|
open func updateLayout(layout: ContainerViewLayout, transition: ContainedViewLayoutTransition) -> CGFloat {
|
|
return 0.0
|
|
}
|
|
|
|
open func updateBackgroundAlpha(_ alpha: CGFloat, transition: ContainedViewLayoutTransition) {
|
|
|
|
}
|
|
}
|