Apple Cocoa developers: Finally another blog entry for you!
Everyone else: You may want to skip this one…
Everyone else: You may want to skip this one…
It has come to my attention that some NSTableView instances created by dragging CoreData objects into Interface Builder will not work quite right. Specifically, if you add one more row from a case like this:
you will sometimes see the header disappear:
Looking at the NSTableView in IB reveals that it has an offset frame location, which you cannot change:
The solution is to add an outlet to the NSTableView inside your controller and add a bit of code to correct the situation:
- (void)awakeFromNib { [tableView setFrameOrigin:NSZeroPoint]; }
This relates to MacOS 10.4 Tiger.