SCSliderAttributes

@interface SCSliderAttributes : SCPropertyAttributes {
  float minimumValue;
  float maximumValue;
}

This class is used to extend the definition of an ‘SCPropertyAttributes’ instance of type SCPropertyTypeSlider, thus allowing further customization of the generated control by the user.

Creation and Initialization

  • Allocates and returns an initialized ‘SCSliderAttributes’. *

    • - parameter: minValue The minimum value of the generated UISlider control. Set to nil to ignore.
    • - parameter: maxValue The maximum value of the generated UISlider control. Set to nil to ignore.

    Declaration

    Objective-C

    + (instancetype)attributesWithMinimumValue:(float)minValue
                                  maximumValue:(float)maxValue;
  • Returns an initialized ‘SCSliderAttributes’. *

    • - parameter: minValue The minimum value of the generated UISlider control. Set to nil to ignore.
    • - parameter: maxValue The maximum value of the generated UISlider control. Set to nil to ignore.

    Declaration

    Objective-C

    - (instancetype)initWithMinimumValue:(float)minValue
                            maximumValue:(float)maxValue;

Configuration