PTColorPickerViewControllerDelegate
@protocol PTColorPickerViewControllerDelegate <NSObject>
The methods declared by the PTColorPickerViewControllerDelegate protocol allow the adopting delegate to
respond to messages from the PTColorPickerViewController
class.
-
Informs the delegate that a color has been selected by the user.
Declaration
Objective-C
- (void)colorPickerController: (nonnull PTColorPickerViewController *)colorPickerController didSelectColor:(nonnull UIColor *)color;
Swift
func colorPickerController(_ colorPickerController: PTColorPickerViewController, didSelect color: UIColor)