Untitled Reference Library

GSItemSelector Class Reference

GSItemSelector Class Reference

Declared in GSItemSelector.h

Tasks

Properties

color

color property Change the backgroung color of the menu

@property UIColor *color
Declared In
GSItemSelector.h

borderColor

borderColor Property Change the border color of the Menu

@property UIColor *borderColor
Declared In
GSItemSelector.h

selectedItemIndex

selectedItemIndex property Use this property to select an item, this action make the corrsponding item highlighted

@property NSInteger selectedItemIndex
Declared In
GSItemSelector.h

Instance Methods

addItem:

Add an item at the end of the menu.

- (void)addItem:(UIControl *)item
Parameters
item

The added item.

Declared In
GSItemSelector.h

removeItem:

Remove the item gift in parameter from the menu.

- (void)removeItem:(UIControl *)item
Parameters
item

The removed item

Declared In
GSItemSelector.h

setMenuPosition:

Choose the position of the menu. For now only LEFT and RIGHT position are allowed.

- (void)setMenuPosition:(ItemSelectorPosition)position
Parameters
position

The new position for the menu

Declared In
GSItemSelector.h

putAside:

Move the menu out of the screen and show only a little strip wich enable user to get back the menu.

- (void)putAside:(BOOL)mustPutAside
Parameters
mustPutAside

YES if the menu must be hide, otherwise NO.

Declared In
GSItemSelector.h

Last updated: 2010-8-12