Inherits from SCPropertyAttributes : NSObject
Declared in SCPropertyAttributes.h

Overview

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

Tasks

Creation and Initialization

Configuration

Properties

segmentTitlesArray

The segment titles of the generated UISegmentedControl. Set to nil to ignore.

@property (nonatomic, strong) NSArray *segmentTitlesArray

Declared In

SCPropertyAttributes.h

Class Methods

attributesWithSegmentTitlesArray:

Allocates and returns an initialized ‘SCSegmentedAttributes’.

+ (instancetype)attributesWithSegmentTitlesArray:(NSArray *)titles

Parameters

titles

The segment titles of the generated UISegmentedControl. Set to nil to ignore.

Declared In

SCPropertyAttributes.h

Instance Methods

initWithSegmentTitlesArray:

Returns an initialized ‘SCSegmentedFieldAttributes’.

- (instancetype)initWithSegmentTitlesArray:(NSArray *)titles

Parameters

titles

The segment titles of the generated UISegmentedControl. Set to nil to ignore.

Declared In

SCPropertyAttributes.h