RingLightColorSelectionView

public class RingLightColorSelectionView : UIView
extension RingLightColorSelectionView: UICollectionViewDelegate
extension RingLightColorSelectionView: UICollectionViewDataSource

Undocumented

Views

  • Collection view which contains the different color options for the ring light.

    Declaration

    Swift

    public lazy var collectionView: UICollectionView { get set }

Init

  • Undocumented

    Declaration

    Swift

    public override func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    public override var intrinsicContentSize: CGSize { get }

Collection View

  • To be called the first time the ring light color selection view appears.

    Declaration

    Swift

    public func performInitialSelection(indexPath: IndexPath = IndexPath(row: 0, section: 0))

    Parameters

    indexPath

    The index path of the color cell to initially select.

Collection View Delegate

Collection View Data Source

  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath)
        -> UICollectionViewCell