Skip to content

Commit

Permalink
Merge pull request #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
Expand Up @@ -88,6 +88,7 @@ - (void) deleteVisibleCell: (AQGridViewCell *) cell atIndex: (NSUInteger) visibl


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




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


NSUInteger index=[shifted firstIndex]; NSUInteger index=[shifted firstIndex];
while(index != NSNotFound){ while(index != NSNotFound){
NSLog(@"%i >= %i ?", index, [_visibleCells count]); //NSLog(@"%i >= %i ?", index, [_visibleCells count]);
if (index >= [_visibleCells count]) { if (index >= [_visibleCells count]) {
[shifted removeIndex:index]; [shifted removeIndex:index];
} }
Expand Down
3 changes: 3 additions & 0 deletions Classes/AQGridViewCell.h
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. @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; - (void)setEditing:(BOOL)editing animated:(BOOL)animated;


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

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


@implementation AQGridViewCell @implementation AQGridViewCell
Expand Down

0 comments on commit 468b277

Please sign in to comment.