Skip to content

Commit

Permalink
Cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
soleares authored and gmoledina committed Feb 1, 2012
1 parent 78b9d7a commit bf2776e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GMGridView/GMGridView.m
Expand Up @@ -1164,7 +1164,7 @@ - (GMGridViewCell *)newItemSubViewForPosition:(NSInteger)position
BOOL canDelete = YES;
if ([weakSelf.dataSource respondsToSelector:@selector(GMGridView:canDeleteItemAtIndex:)])
{
canDelete = [weakSelf.dataSource GMGridView:self canDeleteItemAtIndex:index];
canDelete = [weakSelf.dataSource GMGridView:weakSelf canDeleteItemAtIndex:index];
}

if (canDelete && [weakSelf.actionDelegate respondsToSelector:@selector(GMGridView:processDeleteActionForItemAtIndex:)])
Expand Down
5 changes: 3 additions & 2 deletions README.md
@@ -1,4 +1,4 @@
#GM-GRID-VIEW
#[GM-GRID-VIEW](http://www.gmoledina.ca/projects/gmgridview/)

"Definitely looks like one to watch" [ManiacDev.com]

Expand All @@ -24,6 +24,7 @@ New feature requests are welcome. (ping [@gmoledina](http://twitter.com/gmoledin

Fresh from the baking oven:

* The component now inherits from UIScrollView and changing the scroll delegate is now allowed
* Support for different item sizes per interface orientation
* Support for iOS 4
* Paging!! 2 horizontally paged layout strategies added
Expand All @@ -32,7 +33,6 @@ Fresh from the baking oven:
Coming soon:

* Changing the zoom scale dynamically (when pinching to go fullscreen)
* API for adding a pageControl
* More customization options

---
Expand All @@ -47,6 +47,7 @@ Features - General:

* Works on both the iPhone and iPad (best suited for iPad)
* Works on both portrait and landscape orientation
* Inherits from UIScrollView - you can override the UIScrollViewDelegate if you wish
* Reusable cells
* Edit mode to delete cells
* Gestures work great inside of the scrollView
Expand Down

0 comments on commit bf2776e

Please sign in to comment.