CarouselView

class CarouselView
extension CarouselView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, Identifiable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICollectionViewDelegate, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UIScrollViewDelegate, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable

The carousel view denotes the primary wallet and funding instrument selection component

  • Undocumented

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
  • Undocumented

    Declaration

    Swift

    func desiredHeight(forWidth availableWidth: CGFloat) -> CGFloat
  • id

    The stable identity of the entity associated with this instance.

    Declaration

    Swift

    var id: String { get }
  • Undocumented

    Declaration

    Swift

    var isVisible: Bool { get }
  • Undocumented

    Declaration

    Swift

    override func layoutSubviews()
  • This specific method detects when the scroll ends due to the following - • When the user lifts their finger off the screen • When the user drags their finger across and off the screen without lifting their finger

    Declaration

    Swift

    func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
  • Cancel previous pending performs on this object and ensure that scrollViewDidEndScrollAnimation is called. This also ensures that selectFIIfNeeded is called if the user scrolls and then drags their finger off the screen. The ensureDelay is to simulate the same delay from scrollViewDidEndDecelerating.

    Declaration

    Swift

    func scrollViewDidScroll(_ scrollView: UIScrollView)
  • Undocumented

    Declaration

    Swift

    override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?)