WheelView
class WheelView : UIView
Wheel view with slices.
-
Wheel layer
Declaration
Swift
private(set) var wheelLayer: WheelLayer? { get }
-
Customizable preferences. Required in order to draw properly.
Declaration
Swift
var preferences: SFWConfiguration.WheelPreferences? { get set }
-
List of Slice objects. Used to draw content.
Declaration
Swift
var slices: [Slice] { get set }
-
Initiates without IB.
Declaration
Swift
init(frame: CGRect, slices: [Slice], preferences: SFWConfiguration.WheelPreferences?)
Parameters
frame
Frame
slices
List of Slices
configuration
Customizable configuration
-
Undocumented
Declaration
Swift
required init?(coder: NSCoder)
-
-
Undocumented
Declaration
Swift
override public func layoutSubviews()
-
Undocumented
Declaration
Swift
override public func draw(_ rect: CGRect)
-
-
Setups auto layouts
Declaration
Swift
func setupAutoLayout()