Skip to content

Commit

Permalink
Fixed errors in the incompatibility CPException reasons. For example …
Browse files Browse the repository at this point in the history
…-setHeaderView instead of setHeaderCell.
  • Loading branch information
Daniel Brajkovic committed Nov 18, 2010
1 parent 31d57b0 commit 6bd064f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AppKit/CPTableColumn.j
Original file line number Diff line number Diff line change
Expand Up @@ -522,25 +522,25 @@ var CPTableColumnIdentifierKey = @"CPTableColumnIdentifierKey",
- (void)setHeaderCell:(CPView)aView
{
[CPException raise:CPUnsupportedMethodException
reason:@"setHeaderCell: is not supported. -setHeaderCell:aView instead."];
reason:@"setHeaderCell: is not supported. Use -setHeaderView:aView instead."];
}

- (CPView)headerCell
{
[CPException raise:CPUnsupportedMethodException
reason:@"headCell is not supported. -headerView instead."];
reason:@"headCell is not supported. Use -headerView instead."];
}

- (void)setDataCell:(CPView)aView
{
[CPException raise:CPUnsupportedMethodException
reason:@"setDataCell: is not supported. Use -setHeaderCell:aView instead."];
reason:@"setDataCell: is not supported. Use -setDataView:aView instead."];
}

- (CPView)dataCell
{
[CPException raise:CPUnsupportedMethodException
reason:@"dataCell is not supported. Use -dataCell instead."];
reason:@"dataCell is not supported. Use -dataView instead."];
}

- (id)dataCellForRow:(int)row
Expand Down

0 comments on commit 6bd064f

Please sign in to comment.