Skip to content

Commit

Permalink
Rename a method
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenofex committed Jan 19, 2012
1 parent 18998eb commit 19f0f93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion StreamView/EKStreamView.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

- (NSInteger)numberOfCellsInStreamView:(EKStreamView *)streamView;
- (NSInteger)numberOfColumnsInStreamView:(EKStreamView *)streamView;
- (UIView<EKResusableCell> *)cellForStreamView:(EKStreamView *)streamView atIndex:(NSInteger)index;
- (UIView<EKResusableCell> *)streamView:(EKStreamView *)streamView cellAtIndex:(NSInteger)index;
- (CGFloat)streamView:(EKStreamView *)streamView heightForCellAtIndex:(NSInteger)index;

@optional
Expand Down
2 changes: 1 addition & 1 deletion StreamView/EKStreamView.m
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ - (NSSet *)getVisibleCellInfo

- (void)layoutCellWithCellInfo:(EKStreamViewCellInfo *)info
{
UIView<EKResusableCell> *cell = [delegate cellForStreamView:self atIndex:info.index];
UIView<EKResusableCell> *cell = [delegate streamView:self cellAtIndex:info.index];
cell.frame = info.frame;
info.cell = cell;
[self addSubview:cell];
Expand Down
2 changes: 1 addition & 1 deletion StreamView/EKViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ - (NSInteger)numberOfColumnsInStreamView:(EKStreamView *)streamView
return 3;
}

- (UIView *)cellForStreamView:(EKStreamView *)streamView atIndex:(NSInteger)index
- (UIView *)streamView:(EKStreamView *)streamView cellAtIndex:(NSInteger)index
{
static NSString *CellID1 = @"MyCell1";
static NSString *CellID2 = @"MyCell2";
Expand Down

0 comments on commit 19f0f93

Please sign in to comment.