RingLightColorSelectionView
public class RingLightColorSelectionView : UIView
extension RingLightColorSelectionView: UICollectionViewDelegate
extension RingLightColorSelectionView: UICollectionViewDataSource
Undocumented
-
Delegate for handling updates to the color selection.
Declaration
Swift
public weak var delegate: RingLightColorSelectionViewDelegate?
-
Collection view which contains the different color options for the ring light.
Declaration
Swift
public lazy var collectionView: UICollectionView { get set }
-
Undocumented
Declaration
Swift
public override func layoutSubviews()
-
Undocumented
Declaration
Swift
public override var intrinsicContentSize: CGSize { get }
-
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.
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell