SwiftclassTeaUI
CollectionViewCell
class TeaUI.CollectionViewCell
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolTeaUI.CellTapActionable
- protocolTeaUI.ContextMenuPreviewable
- protocolTeaUI.DragCancellable
- protocolTeaUI.InvalidatableCell
- protocolTeaUI.SwipeActionCellType
- protocolTeaUI.ViewHighlightable
- protocolTeaUI.ViewSelectable
Members 44
- deinit
deinit - field
let customSelectedBackgroundView: TeaUI.SelectedBackgroundView - field
var forwardsAccessibilityLabelFromView: Bool - field
var hasBeenTraversed: Bool - field
var isInvalidating: Bool - field
var isTransitioning: Bool - field
var layoutAttributesChangeBlock: ((UICollectionReusableView, TeaUI.BlueprintLayoutCollectionLayoutAttributes) -> ())? - field
let onDeselect: TeaUI.Action<()> - field
let onHighlightChange: TeaUI.Action<()> - field
let onSelect: TeaUI.Action<()> - field
var renderKey: TeaUI.CellRenderKey? - field
var selectionBehavior: TeaUI.SelectionBehavior - field
var swipeActionAccessibilityCustomActionsBlock: (() -> [UIAccessibilityCustomAction]?)? - field
var token: NSObject - field
let view: A - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewportMonitorObserver>.blueprintViewportMonitor(_: TeaUI.BlueprintViewportMonitor, willDisplayCellWith: TeaUI.BlueprintViewportTransitionManager) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewportMonitorObserver>.blueprintViewportMonitor(_: TeaUI.BlueprintViewportMonitor, didEndDisplayingCellWith: TeaUI.BlueprintViewportTransitionManager) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewportMonitorObserver>.blueprintViewportMonitor(_: TeaUI.BlueprintViewportMonitor, viewportMotionEnabled: Bool) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewportMonitorObserver>.blueprintViewportMonitor(_: TeaUI.BlueprintViewportMonitor, viewportMotionDataDidChange: TeaUI.BlueprintViewportMotionData) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewportMonitorObserver>.blueprintViewportMonitor(_: TeaUI.BlueprintViewportMonitor, viewportScrollDataDidChange: TeaUI.BlueprintViewportScrollData) -> () - func
didInvalidate() -> () - func
registerForChanges(block: (UICollectionReusableView, TeaUI.BlueprintLayoutCollectionLayoutAttributes) -> ()) -> () - func
renderWithAutoResizing(originalSize: CGSize, renderBlock: () -> ()) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.ContextMenuPreviewable>.setContextMenuPreviewing(Bool) -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.TransitionSourceViewProviding>.sourceView(identifier: String) -> UIView? - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.viewDidAppear() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.viewDidDisappear() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.viewDidLoad() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.viewWillAppear() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.viewWillDisappear() -> () - func
willInvalidate() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.windowDidBecomeBackground() -> () - func
TeaUI.CollectionViewCell< where A: TeaUI.BlueprintViewProviderLoadAwareType>.windowWillBecomeForeground() -> () - init
TeaUI.CollectionViewCell.__allocating_init(coder: NSCoder) -> TeaUI.CollectionViewCell<A>? - init
TeaUI.CollectionViewCell.__allocating_init(frame: CGRect) -> TeaUI.CollectionViewCell<A> - typealias
typealias ViewType = A - var
var cellTapAction: TeaUI.Action<()>? { get } - var
var isHighlightable: Bool { get } - var
var isSelectable: Bool { get } - var
final var keyCommandBlocks: [TeaUI.KeyCommandBlock] { get } - var
var shouldCancelDrag: Bool { get } - var
var shouldMonitorMotion: Bool { get } - var
var shouldMonitorScroll: Bool { get } - var
final var traversedDisposerToken: NSObject { get }
Header
class CollectionViewCell<A>: __C.UICollectionViewCell where A: __C.UIView, A: TeaUI.Reusable { var renderKey: TeaUI.CellRenderKey? let view: A let customSelectedBackgroundView: TeaUI.SelectedBackgroundView let onSelect: TeaUI.Action<()> let onDeselect: TeaUI.Action<()> let onHighlightChange: TeaUI.Action<()> var hasBeenTraversed: Swift.Bool var selectionBehavior: TeaUI.SelectionBehavior var token: __C.NSObject var swipeActionAccessibilityCustomActionsBlock: (() -> [__C.UIAccessibilityCustomAction]?)? var layoutAttributesChangeBlock: ((__C.UICollectionReusableView, TeaUI.BlueprintLayoutCollectionLayoutAttributes) -> ())? var isTransitioning: Swift.Bool var isInvalidating: Swift.Bool var forwardsAccessibilityLabelFromView: Swift.Bool func willInvalidate() func didInvalidate() @objc init?(coder: __C.NSCoder) @objc init(frame: __C.CGRect) final var keyCommandBlocks: [TeaUI.KeyCommandBlock] { get } final var traversedDisposerToken: __C.NSObject { get } final func registerForChanges(block: @escaping (__C.UICollectionReusableView, TeaUI.BlueprintLayoutCollectionLayoutAttributes) -> ()) final func renderWithAutoResizing(originalSize: __C.CGSize, renderBlock: () -> ()) deinit }