Permalink
Browse files

shouldn't make these sorts of changes late at night...

  • Loading branch information...
1 parent 0849223 commit 12b747d8e6c7656fafc1267e924218f8e823b804 @aufflick aufflick committed Jul 12, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Classes/AQGridView.m
@@ -1492,9 +1492,10 @@ - (NSUInteger) visibleCellListIndexForItemIndex: (NSUInteger) itemIndex
@implementation AQGridView (AQCellLayout)
+NSArray * __sortDescriptors;
+
- (void) sortVisibleCellList
{
- __block NSArray * __sortDescriptors;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
__sortDescriptors = [[NSArray alloc] initWithObjects: [[NSSortDescriptor alloc] initWithKey: @"displayIndex" ascending: YES], nil];

0 comments on commit 12b747d

Please sign in to comment.