SCSliderAttributes Class Reference
Inherits from | SCPropertyAttributes : NSObject |
Declared in | SCPropertyAttributes.h |
Overview
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.
Tasks
Creation and Initialization
-
+ attributesWithMinimumValue:maximumValue:
Allocates and returns an initialized ‘SCSliderAttributes’.
-
– initWithMinimumValue:maximumValue:
Returns an initialized ‘SCSliderAttributes’.
Configuration
-
minimumValue
The minimum value of the generated UISlider control. Set to nil to ignore.
property -
maximumValue
The maximum value of the generated UISlider control. Set to nil to ignore.
property
Properties
Class Methods
attributesWithMinimumValue:maximumValue:
Allocates and returns an initialized ‘SCSliderAttributes’.
+ (id)attributesWithMinimumValue:(float)minValue maximumValue:(float)maxValue
Parameters
- minValue
The minimum value of the generated UISlider control. Set to nil to ignore.
- maxValue
The maximum value of the generated UISlider control. Set to nil to ignore.
Declared In
SCPropertyAttributes.h
Instance Methods
initWithMinimumValue:maximumValue:
Returns an initialized ‘SCSliderAttributes’.
- (id)initWithMinimumValue:(float)minValue maximumValue:(float)maxValue
Parameters
- minValue
The minimum value of the generated UISlider control. Set to nil to ignore.
- maxValue
The maximum value of the generated UISlider control. Set to nil to ignore.
Declared In
SCPropertyAttributes.h