NimbusKit
1.2.1 - Fork Nimbus on Github - Visit the Nimbus Wiki
The iOS framework that grows only as fast as its documentation
|
A launcher view that simulates iOS' home screen launcher functionality.
Tasks | |
Configuring a Launcher View | |
NSInteger | maxNumberOfButtonsPerPage property |
UIEdgeInsets | contentInsetForPages property |
CGSize | buttonSize property |
NSInteger | numberOfRows property |
NSInteger | numberOfColumns property |
(UIView< NILauncherButtonView > *) | - dequeueReusableViewWithIdentifier: |
Managing the Delegate and the Data Source | |
id< NILauncherDelegate > | delegate property |
id< NILauncherDataSource > | dataSource property |
Reloading the Table View | |
(void) | - reloadData |
Rotating the Launcher View | |
(void) | - willRotateToInterfaceOrientation:duration: |
(void) | - willAnimateRotationToInterfaceOrientation:duration: |
The maximum number of buttons allowed on a given page.
By default this value is NSIntegerMax.
The distance that each page view insets its contents.
Use this property to add to the area around the content of each page. The unit of size is points. The default value is 10 points on all sides.
The size of each launcher button.
The number of rows to display on each page.
The number of columns to display on each page.
The object that acts as the delegate of the receiving launcher view.
The delegate must adopt the NILauncherDelegate protocol. The delegate is not retained.
The object that acts as the data source of the receiving table view.
The data source must adopt the NILauncherDataSource protocol. The data source is not retained.
Reloads the pages of the receiver.
Call this method to reload all the data that is used to construct the launcher, including pages and buttons. For efficiency, the launcher redisplays only those pages that are visible or nearly visible.
Returns a reusable launcher button view object located by its identifier.
identifier | A string identifying the launcher button view object to be reused. By default, a reusable view's identifier is its class name, but you can change it to any arbitrary value. |
Stores the current state of the launcher view in preparation for rotation.
This must be called in conjunction with willAnimateRotationToInterfaceOrientation:duration: in the methods by the same name from the view controller containing this view.
Updates the frame of the launcher view while maintaining the current visible page's state.