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.
-
Undocumented
Declaration
Objective-C
float minimumValue
-
Undocumented
Declaration
Objective-C
float maximumValue
-
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;
-
The minimum value of the generated UISlider control. Set to nil to ignore.
Declaration
Objective-C
@property (nonatomic) float minimumValue;
-
The maximum value of the generated UISlider control. Set to nil to ignore.
Declaration
Objective-C
@property (nonatomic) float maximumValue;