SwiftclassGameStoreKit

class GameStoreKit.ComponentHeightCache

Members 6

  1. deinitdeinit
  2. fieldvar heights: [AnyHashable : GameStoreKit.ComponentHeightCache.CachedHeight]+0x10
  3. funccachedHeights(for: GameStoreKit.ShelfLayoutContext) -> [CoreGraphics.CGFloat]
  4. funcheight(for: GameStoreKit.ItemLayoutContext, or: () -> CoreGraphics.CGFloat) -> CoreGraphics.CGFloat
  5. funcinvalidate(items: (any Collection<Self.Collection.Element == AnyHashable>)?) -> ()
  6. initGameStoreKit.ComponentHeightCache.__allocating_init() -> GameStoreKit.ComponentHeightCache
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
}