Files
Swiftgram/Display/GridItem.swift
2016-10-24 15:00:28 +03:00

15 lines
316 B
Swift

import Foundation
public protocol GridSection {
var height: CGFloat { get }
var hashValue: Int { get }
func isEqual(to: GridSection) -> Bool
func node() -> ASDisplayNode
}
public protocol GridItem {
var section: GridSection? { get }
func node(layout: GridNodeLayout) -> GridItemNode
}