GCKUIMultistateButton Class

GCKUIMultistateButton Class Reference

Overview

A subclass of UIButton that supports multiple states.

Assign an image to each state with the setImage:forButtonState: (GCKUIMultistateButton) method.

Since
4.0

Inherits UIButton.

Inherited by GCKUIButton.

Instance Method Summary

(void) - setImage:forButtonState:
 Sets the image to display for a given button state. More...
 

Property Summary

NSUInteger buttonState
 The button's application state. More...
 

Method Detail

- (void) setImage: (UIImage *)  image
forButtonState: (NSUInteger)  buttonState 

Sets the image to display for a given button state.

Parameters
imageThe image.
buttonStateThe button state.

Property Detail

- (NSUInteger) buttonState
readwritenonatomicassign

The button's application state.