Permalink
Browse files

Fixed typos in README

  • Loading branch information...
1 parent c492d60 commit df6d45b4b3db367ccb20c82aa8bac83f353486e9 @AliSoftware committed Nov 23, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
View
@@ -29,11 +29,12 @@ This solution is only useful if you intend to modify the OHGridView source often
Once you have added `OHGridView.framework` to your project, you simply `#import <OHGridView/OHGridView.h>` in your source and then implement the methods of the `OHGridViewDataSource` protocol, like you would do for a UITableView:
-`-(NSUInteger)numberOfItemsInGridView:(OHGridView *)aGridView;`
-`-(OHGridViewCell*)gridView:(OHGridView *)aGridView cellAtIndexPath:(NSIndexPath *)indexPath;`
+ -(NSUInteger)numberOfItemsInGridView:(OHGridView *)aGridView;
+ -(OHGridViewCell*)gridView:(OHGridView *)aGridView cellAtIndexPath:(NSIndexPath *)indexPath;
You can also implement the GridViewDelegate protocol especially to handle when a cell is tapped:
-`-(void)gridView:(OHGridView *)aGridView didSelectCellAtIndexPath:(NSIndexPath *)indexPath;`
+
+ -(void)gridView:(OHGridView *)aGridView didSelectCellAtIndexPath:(NSIndexPath *)indexPath;
See the "GridViewExample" project for a basic usage example (including changing the number of columns used when the iPhone orientation changes)

0 comments on commit df6d45b

Please sign in to comment.