Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 924 Bytes

SheetyColorsConfigProtocol.md

File metadata and controls

58 lines (37 loc) · 924 Bytes

PROTOCOL

SheetyColorsConfigProtocol

public protocol SheetyColorsConfigProtocol

A protocol defining all options that can be used for configuring a SheetyColors view.

Properties

alphaEnabled

var alphaEnabled: Bool

Defines whether an opacity slider should be displayed or not.

hapticFeedbackEnabled

var hapticFeedbackEnabled: Bool

Defines whether haptic feedback is supported when changing a slider's value.

initialColor

var initialColor: UIColor

The initial color used when displaying the SheetyColors view.

message

var message: String?

A description text displayed inside the SheetyColors view.

title

var title: String?

A title text displayed inside the SheetyColors view.

type

var type: SheetyColorsType

The color model used by the SheetyColors view.