SwiftclassGameStoreKit
ComponentHeightCache
class GameStoreKit.ComponentHeightCache
Members 6
- deinit
deinit - field
var heights: [AnyHashable : GameStoreKit.ComponentHeightCache.CachedHeight]+0x10 - func
cachedHeights(for: GameStoreKit.ShelfLayoutContext) -> [CoreGraphics.CGFloat] - func
height(for: GameStoreKit.ItemLayoutContext, or: () -> CoreGraphics.CGFloat) -> CoreGraphics.CGFloat - func
invalidate(items: (any Collection<Self.Collection.Element == AnyHashable>)?) -> () - init
GameStoreKit.ComponentHeightCache.__allocating_init() -> GameStoreKit.ComponentHeightCache
Header
class ComponentHeightCache { struct CachedHeight { let height: CoreGraphics.CGFloat let traits: __C.UITraitCollection let measuringWidth: CoreGraphics.CGFloat } var heights: [Swift.AnyHashable : GameStoreKit.ComponentHeightCache.CachedHeight] init() final func invalidate(items: (any Swift.Collection<Swift.AnyHashable>)?) final func cachedHeights(for: GameStoreKit.ShelfLayoutContext) -> [CoreGraphics.CGFloat] final func height(for: GameStoreKit.ItemLayoutContext, or: () -> CoreGraphics.CGFloat) -> CoreGraphics.CGFloat deinit }