ColorPaletteView
final class ColorPaletteView : BaseView
The view that displays all the colors for a custom palette
-
ScrollView for the view.
Declaration
Swift
private(set) var scrollView: UIScrollView! { get }
-
ContentView.
Declaration
Swift
private(set) var contentView: UIView! { get }
-
Delegate to communicate back to the VC.
Declaration
Swift
weak var delegate: ColorPaletteViewDelegate?
-
Custom Init.
Declaration
Swift
init(palette: UIColor.Palette)
Parameters
palette
the palette to be used in this view
-
Required init by the compiler.
Declaration
Swift
required init?(coder: NSCoder)