Permalink
Browse files

Fixed errors in the incompatibility CPException reasons. For example …

…-setHeaderView instead of setHeaderCell.
  • Loading branch information...
1 parent 31d57b0 commit 6bd064f28961ebdfbee045f8f59418430819f961 @dbrajkovic dbrajkovic committed Nov 18, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 AppKit/CPTableColumn.j
View
@@ -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

0 comments on commit 6bd064f

Please sign in to comment.