SpinButton
class SpinButton : UIButton
Spin button located at the center of the fotune wheel view. Optional and can be hidden.
-
-
-
Setups auto layouts with preferences
Declaration
Swift
func setupAutoLayout(with preferences: SFWConfiguration.SpinButtonPreferences?)Parameters
preferencesSpin button preferences, that contains layouts preference variables.
-
Updates spin button image
Declaration
Swift
func image(name: String?)Parameters
nameImage name from assets catalog
-
Updates spin button background image
Declaration
Swift
func backgroundImage(name: String?)Parameters
nameImage name from assets catalog
-
Updates spin button background color and layer
Declaration
Swift
func configure(with preferences: SFWConfiguration.SpinButtonPreferences?)Parameters
preferencesPreferences that contains appearance preference variables.
SpinButton Class Reference