ColorCollectionViewDelegate
@available(iOS 9.0, *)
@objc(PESDKColorCollectionViewDelegate)
public protocol ColorCollectionViewDelegate
The ColorCollectionViewDelegate
defines methods that allow you to respond to messages from
the ColorCollectionView
.
-
Tells the delegate that a color was selected.
Declaration
Swift
func colorCollectionView(_ colorCollectionView: ColorCollectionView, didSelectColor color: Color)
Parameters
colorCollectionView
The color collection view the color was selected in.
color
The color that was selected.