A grid-view component for iOS, working almost like UITableView
Pull request Compare This branch is 27 commits ahead of djacobs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NRGridView.xcworkspace
NRGridView
NRGridViewSampleApp
.gitignore
README.md

README.md

NRGridView

iOS 4.0 minimum.

License

Without any further information, all the sources provided here are under the MIT License quoted in NRGridView/LICENSE.

What is NRGridView

NRGridView is a grid-view UI component (built as a static library) which has been developed by Louka Desroziers, for Novedia Regions. How it works? Almost like UITableView works. You set a dataSource, and a delegate.. and you implement all @required methods. It also has a 'layoutStyle'. It means you can use it as a vertical gridView, or horizontal grid-view!

image image

If you got any suggestions, or if you need more UITableView-like methods, do not hesitate to email me at l.desroziers@novediagroup.com

Latest Changelog

Added

  • Long pressure gesture recognition if the appropriate delegate method is implemented by your controller:

- (void)gridView:(NRGridView*)gridView didLongPressCellAtIndexPath:(NSIndexPath*)indexPath;

  • Long pressure options for automatic un-highlight of the pressured cell. Available options can be combined together:

typedef enum{ ��

NRGridViewLongPressUnhighlightUponPressGestureEnds = 0x01, // Un-highlights the cell when the user's finger lefts the screen

NRGridViewLongPressUnhighlightUponScroll = 0x02, // Un-highlights the cell when the user scrolls the gridView.

NRGridViewLongPressUnhighlightUponAnotherTouch = 0x04 // Un-highlights the cell when the user touches the same or another cell

} NRGridViewLongPressUnhighlightOptions;

Fixed

  • Arithmetic crashes
  • Content Insets

Improved

  • Calling -setCellSize: now automatically refreshes the gridView

Comments

This component has been developed for Novedia Regions, a french company which develops apps for mobile devices.

Referencing this project in your AboutBox is appreciated. Please tell me if you use this class so we can cross-reference our projects.

Enjoy, and share ;)