doc
 All Classes Functions Variables Properties
Public Member Functions | Protected Attributes | Properties
EMGridView Class Reference

Inherited by EMBarrelGridView.

List of all members.

Public Member Functions

(id) - initWithFrame:
(void) - setTileSize:forOrientation:
(void) - setMaxRows:forOrientation:
(void) - setMaxColumns:forOrientation:
(void) - setTileLayoutDirection:forOrientation:
(void) - setPageRows:columns:forOrientation:
(void) - setPageTileLayoutDirection:forOrientation:
(void) - setPageLayoutDirection:forOrientation:
(CGSize) - tileSizeForOrientation:
(void) - setCellInset:forOrientation:
(void) - setMaxTiles:
(void) - reloadDataAnimated:
(UIView< EMGridViewCell > *) - dequeueReusableCellWithIdentifier:
(EMGridSection *) - displayedTiles
(EMGridSection *) - tilesForPage:
(NSIndexPath *) - indexPathForCell:
(NSUInteger) - ordinalForIndexPath:
(NSIndexPath *) - indexPathForOrdinal:
(UIView< EMGridViewCell > *) - cellAtIndexPath:
(NSArray *) - visibleCells
(NSUInteger) - pageForIndexPath:
(NSUInteger) - pageForOrdinal:
(NSIndexPath *) - pageRelativeIndexPathForOrdinal:
(void) - scrollToCellAtIndexPath:animated:
(void) - scrollToPage:animated:

Protected Attributes

id< EMGridViewDataSource_dataSource
id< EMGridViewDelegate_gridViewDelegate
UIView * _cellContainerView
NSMutableDictionary_displayedCells
NSMutableDictionary_cellQueues
EMGridGeometry_portraitGeometry
EMGridGeometry_landscapeGeometry
UIDeviceOrientation _deviceOrientation
BOOL _geometryNeedsCalculation
BOOL _snapsToGrid
UIView< EMGridViewCell > * _selectedCell
NSUInteger _prefetchPageCount

Properties

id< EMGridViewDataSourcedataSource
id< EMGridViewDelegatedelegate
UIDeviceOrientation deviceOrientation
UIView * cellContainerView
BOOL snapsToGrid
NSUInteger prefetchPageCount
CGSize tileSize
NSUInteger numberOfColumns
NSUInteger numberOfRows
NSUInteger maxPages
NSUInteger currentPage
NSUInteger tilesPerPage

Property Documentation

- (NSUInteger) numberOfColumns [read, assign]

Returns the number of columns for the current orientation

- (NSUInteger) numberOfRows [read, assign]

Returns the number of rows for the current orientation

- (NSUInteger) prefetchPageCount [read, write, assign]

number of pages to prefetch before and after current page; for example, if set to 1, in addition to the current page, the pageworth of tiles to the right and left will be displayed whenever EMGridView updates visible tile set; this property can be used, for example, to improve scrolling performance and visual display of the grid or, if view is not clipped to bounds, display tiles outside of view bounds


The documentation for this class was generated from the following files: