Declared in PrettyDrawing.h

Overview

This category adds a set of methods to UIColor class.

Tasks

  • + colorWithHex:

    Returns an autoreleased UIColor instance with the hexadecimal color.

Class Methods

colorWithHex:

Returns an autoreleased UIColor instance with the hexadecimal color.

+ (UIColor *)colorWithHex:(int)hex

Parameters

hex

A color in hexadecimal notation: 0xCCCCCC, 0xF7F7F7, etc.

Return Value

A new autoreleased UIColor instance.

Declared In

PrettyDrawing.h