Skip to content

kristiandelay/NRGridView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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 ;)

About

A grid-view component for iOS, working almost like UITableView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published