Inherits from TKSideDrawerItem : NSObject
Declared in TKSideDrawerSection.h

Overview

Defines a section that holds a collection of TKSideDrawerItem instances.

Properties

items

Returns the items of the current section.

@property (nonatomic, strong, readonly) NSArray *items

Declared In

TKSideDrawerSection.h

Instance Methods

addItem:

Adds an item inside the current section.

- (void)addItem:(TKSideDrawerItem *)item

Parameters

item

The TKSideDrawerItem that is added.

Declared In

TKSideDrawerSection.h

addItemWithTitle:

Creates and adds an item inside the current section.

- (TKSideDrawerItem *)addItemWithTitle:(NSString *)title

Parameters

title

The title of the TKSideDrawerItem that is added.

Return Value

The added TKSideDrawerItem.

Declared In

TKSideDrawerSection.h

addItemWithTitle:image:

Creates and adds an item inside the current section.

- (TKSideDrawerItem *)addItemWithTitle:(NSString *)title image:(UIImage *)image

Parameters

title

The title of the TKSideDrawerItem that is added.

image

The image of the TKSideDrawerItem that is added.

Return Value

The added TKSideDrawerItem.

Declared In

TKSideDrawerSection.h

insertItem:atIndex:

Inserts an item at a specified index.

- (void)insertItem:(TKSideDrawerItem *)item atIndex:(NSInteger)index

Parameters

item

TKSideDrawerItem that is insterted.

index

The index at which the item is inserted.

Declared In

TKSideDrawerSection.h

removeAllItems

Removes all items from the current section.

- (void)removeAllItems

Declared In

TKSideDrawerSection.h

removeItem:

Removes an item from the current section.

- (void)removeItem:(TKSideDrawerItem *)item

Parameters

item

The TKSideDrawerItem that is removed.

Declared In

TKSideDrawerSection.h