Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added the awakeFromNib method to DTInfiniteGridView

  • Loading branch information...
commit f0277b7c832d4628430293700ada9849988cd8fd 1 parent 925662f
Dimitris Tsiflitzis authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 DTInfiniteGridView/DTInfiniteGridView.m
7 DTInfiniteGridView/DTInfiniteGridView.m
View
@@ -23,6 +23,13 @@ - (id)initWithFrame:(CGRect)frame {
return self;
}
+- (void) awakeFromNib {
+
+ numberOfColumns = [[NSMutableDictionary alloc] init];
+ self.showsHorizontalScrollIndicator = NO;
+ self.bounces = NO;
+}
+
- (NSInteger)realRowNumber:(NSInteger)row {
if (row >= fakeNumberOfRows)
return (row % fakeNumberOfRows);
Please sign in to comment.
Something went wrong with that request. Please try again.