2 // AINoisyTableColumn.m
5 // Created by Evan Schoenberg on 7/6/06.
8 #import "AINoisyTableColumn.h"
11 * @class AINoisyTableColumn
12 * @brief A table column which posts NSTableViewColumnDidResizeNotification continuously as it resizes rather than when it finishes resizing
14 @implementation AINoisyTableColumn
16 - (void)setWidth:(float)newWidth
18 float width = [self width];
20 [super setWidth:newWidth];
22 if (width != newWidth) {
23 [[NSNotificationCenter defaultCenter] postNotificationName:NSTableViewColumnDidResizeNotification
24 object:[self tableView]
25 userInfo:[NSDictionary dictionaryWithObjectsAndKeys:
26 self, @"NSTableColumn",
27 [NSNumber numberWithFloat:width], @"NSOldWidth",