• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IB problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: IB problem
      • From: Vince DeMarco <email@hidden>
    • Re: IB problem
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Using a String Object in another class
  • Next by Date: Font Collections
  • Previous by thread: Re: notifications questions
  • Next by thread: Re: IB problem
  • Index(es):
    • Date
    • Thread