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

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

maximumValue

The maximum value of the generated UISlider control. Set to nil to ignore.

@property (nonatomic, readwrite) float maximumValue

Declared In

SCPropertyAttributes.h

minimumValue

The minimum value of the generated UISlider control. Set to nil to ignore.

@property (nonatomic, readwrite) float minimumValue

Declared In

SCPropertyAttributes.h

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