Inherited by EMBarrelGridView.
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< EMGridViewDataSource > | dataSource |
id< EMGridViewDelegate > | delegate |
UIDeviceOrientation | deviceOrientation |
UIView * | cellContainerView |
BOOL | snapsToGrid |
NSUInteger | prefetchPageCount |
CGSize | tileSize |
NSUInteger | numberOfColumns |
NSUInteger | numberOfRows |
NSUInteger | maxPages |
NSUInteger | currentPage |
NSUInteger | tilesPerPage |
- (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