IB problem
IB problem
- Subject: IB problem
- From: John MacMullin <email@hidden>
- Date: Sun, 21 Sep 2003 13:30:29 -0700
I am getting an error message each time that I open a particular nib.
The message is "An inconsistency in the document was found and
repaired. Please save the document." When I examine the NIB the
"repair" always removes the same NSTableView column. It is always the
last, right-most column, and is the column in which I place a checkbox
with the following:
NSButtonCell *recCell = [NSButtonCell new];
[recCell setButtonType:NSSwitchButton];
[recCell setTitle:@""];
[recCell setImagePosition:NSImageOnly];
[[transTableView tableColumnWithIdentifier:@"11"]setDataCell: recCell ];
I do update the table column with by updating the table source array
(mutable) with the "- (void)tableView:(NSTableView *)tableView
setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn
row:(int)row" method, etc.
This follows Chapter 18 in the Cocoa Programming book and seems to work
quite well. In fact the code works quite nicely, except that it seems
to be doing something to the NIB.
Any suggestions on why I am getting this IB message?
John
_______________________________________________
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.