Inherits from UIControl
Declared in DTCustomColoredAccessory.h

Overview

An accessory control that can be used instead of the standard disclosure indicator in a UITableView. See the DTCustomColoredAccessoryType for supported styles.

Properties

accessoryColor

The color to draw the accessory in

@property (nonatomic, retain) UIColor *accessoryColor

Declared In

DTCustomColoredAccessory.h

backSquareAccessoryColor

The color to draw the back square of the square accessory in while not highlighted

@property (nonatomic, retain) UIColor *backSquareAccessoryColor

Declared In

DTCustomColoredAccessory.h

frontSquareAccessoryColor

The color to draw the front square of the square accessory in while not highlighted

@property (nonatomic, retain) UIColor *frontSquareAccessoryColor

Declared In

DTCustomColoredAccessory.h

highlightedColor

The color to draw the accessory in while highlighted

@property (nonatomic, retain) UIColor *highlightedColor

Declared In

DTCustomColoredAccessory.h

type

The DTCustomColoredAccessoryType of the accessory.

@property (nonatomic, assign) DTCustomColoredAccessoryType type

Declared In

DTCustomColoredAccessory.h

Class Methods

accessoryWithColor:

Creates a custom-colored right disclosure indicator accessory with a given color

+ (DTCustomColoredAccessory *)accessoryWithColor:(UIColor *)color

Parameters

color

The color to use

Declared In

DTCustomColoredAccessory.h

accessoryWithColor:type:

Creates a custom-colored accessory with a given color and type

+ (DTCustomColoredAccessory *)accessoryWithColor:(UIColor *)color type:(DTCustomColoredAccessoryType)type

Parameters

color

The color to use

type

The DTCustomColoredAccessoryType to use

Declared In

DTCustomColoredAccessory.h

squareAccessoryWithColor:backgroundColor:

Creates a custom-colored square on top of a square with offset

+ (DTCustomColoredAccessory *)squareAccessoryWithColor:(UIColor *)color backgroundColor:(UIColor *)backgroundColor

Parameters

color

The color to use

backgroundColor

The backgroundColor to use

Declared In

DTCustomColoredAccessory.h