SCSegmentedAttributes

@interface SCSegmentedAttributes : SCPropertyAttributes {
  NSArray *segmentTitlesArray;
}

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.

Creation and Initialization

  • Allocates and returns an initialized ‘SCSegmentedAttributes’. *

    • - parameter: titles The segment titles of the generated UISegmentedControl. Set to nil to ignore.

    Declaration

    Objective-C

    + (instancetype)attributesWithSegmentTitlesArray:(NSArray *)titles;
  • Returns an initialized ‘SCSegmentedFieldAttributes’. *

    • - parameter: titles The segment titles of the generated UISegmentedControl. Set to nil to ignore.

    Declaration

    Objective-C

    - (instancetype)initWithSegmentTitlesArray:(NSArray *)titles;

Configuration