Skip to content

Commit

Permalink
Merge pull request AlanQuatermain#71 from steipete/master
Browse files Browse the repository at this point in the history
some fixes for compiler warnings
  • Loading branch information
AlanQuatermain committed May 31, 2011
2 parents 4dab91a + 457f3e5 commit 468b277
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/AQGridView.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ - (void) deleteVisibleCell: (AQGridViewCell *) cell atIndex: (NSUInteger) visibl

@interface AQGridView ()
@property (nonatomic, copy) NSIndexSet * animatingIndices;
- (void) cellUpdateAnimationStopped: (NSString *) animationID finished: (BOOL) finished context: (void *) context;
@end


Expand Down Expand Up @@ -1594,7 +1595,7 @@ - (void) updateVisibleGridCellsNow

NSUInteger index=[shifted firstIndex];
while(index != NSNotFound){
NSLog(@"%i >= %i ?", index, [_visibleCells count]);
//NSLog(@"%i >= %i ?", index, [_visibleCells count]);
if (index >= [_visibleCells count]) {
[shifted removeIndex:index];
}
Expand Down
3 changes: 3 additions & 0 deletions Classes/AQGridViewCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@ typedef enum {
@property(nonatomic,getter=isEditing) BOOL editing; // show appropriate edit controls (+/- & reorder). By default -setEditing: calls setEditing:animated: with NO for animated.
- (void)setEditing:(BOOL)editing animated:(BOOL)animated;

// Sorting
- (NSComparisonResult) compareOriginAgainstCell: (AQGridViewCell *) otherCell;

@end
1 change: 1 addition & 0 deletions Classes/AQGridViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
@interface AQGridViewCell ()
@property (nonatomic, retain) UIView * contentView;
@property (nonatomic, copy) NSString * reuseIdentifier;
- (void) flipHighlightTimerFired: (NSTimer *) timer;
@end

@implementation AQGridViewCell
Expand Down

0 comments on commit 468b277

Please sign in to comment.