Stupid subclassing of NSTableColumn question
Stupid subclassing of NSTableColumn question
- Subject: Stupid subclassing of NSTableColumn question
- From: James Derry <email@hidden>
- Date: Mon, 20 Jan 2003 21:05:34 -0500
Hi y'all,
I hope someone can help me out -- I'm at my wit's end.
I'm overriding NSTableColumn so that I can use dataCellForRow:, but doing so
it causing my program to exit with a signal 11 SIGSEGV instead of status 0
-- note the program's not crashing, but when I quit I get the signal 11
instead of the status 0.
My JSDTableColumn.h and .m look like this:
#import <Cocoa/Cocoa.h>
@interface JSDTableColumn : NSTableColumn {
}
@end
======
#import "JSDTableColumn.h"
@implementation JSDTableColumn
@end
Okay, I KNOW the problem's not a bug in code that doesn9t exist --
JSDTableColumn is supposed to be identical to NSTableColumn, right?
So I drag the header into IB, and set the three columns to custom class
JSDTableColumn. Rebuild and run and everything SEEMS to be okay, until I
exit and get the sig 11. If the only change I make is to set the custom
class in IB back to NSTableColumn, everything's fine again.
Anyone with any ideas? Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.