Click here to support Nimbus development and make a donation at www.pledgie.com !
An iOS framework whose growth is bounded by O(documentation).
<NILauncherDataSource> Protocol Reference

Overview

The launcher data source used to populate the view.

Definition at line 112 of file NILauncherView.h.

Inheritance diagram for <NILauncherDataSource>:
NILauncherViewController

Methods

(CGSize) - buttonDimensionsInLauncherView:
(NSInteger) - numberOfRowsPerPageInLauncherView:
(NSInteger) - numberOfColumnsPerPageInLauncherView:
(NSInteger) - numberOfPagesInLauncherView:
(NSInteger) - launcherView:numberOfButtonsInPage:
(UIButton *) - launcherView:buttonForPage:atIndex:

Method Documentation

- (CGSize) buttonDimensionsInLauncherView: (NILauncherView *)  launcherView [optional]

Override the default button dimensions 80x80.

The default dimensions will fit the following grids:

iPhone within a navigation controller Portrait: 3x4 Landscape: 5x2

The returned dimensions must be positive non-zero values.

- (NSInteger) numberOfRowsPerPageInLauncherView: (NILauncherView *)  launcherView [optional]

Override the default number of rows which is dynamically calculated.

- (NSInteger) numberOfColumnsPerPageInLauncherView: (NILauncherView *)  launcherView [optional]

Override the default number of columns which is dynamically calculated.

- (NSInteger) numberOfPagesInLauncherView: (NILauncherView *)  launcherView [required]

The total number of pages to be shown in the launcher view.

- (NSInteger) launcherView: (NILauncherView *)  launcherView
numberOfButtonsInPage: (NSInteger)  page 
[required]

The total number of buttons in a given page.

- (UIButton *) launcherView: (NILauncherView *)  launcherView
buttonForPage: (NSInteger)  page
atIndex: (NSInteger)  index 
[required]

Retrieve the button to be displayed at a given page and index.

Generated for Nimbus by doxygen 1.7.4-20110629