Permalink
Browse files

added the awakeFromNib method to DTInfiniteGridView

  • Loading branch information...
1 parent 925662f commit f0277b7c832d4628430293700ada9849988cd8fd Dimitris Tsiflitzis committed Jun 19, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 DTInfiniteGridView/DTInfiniteGridView.m
@@ -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);

0 comments on commit f0277b7

Please sign in to comment.