• 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
Re: Error Message Bug in NSArrayController / NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Message Bug in NSArrayController / NSTableView?


  • Subject: Re: Error Message Bug in NSArrayController / NSTableView?
  • From: DumberThanDanQuayle <email@hidden>
  • Date: Thu, 27 Jan 2005 19:33:14 -0500

The purpose of this message is update the archive for those us who use to solve problems.

On Jan 25, 2005, at 7:06 PM, DumberThanDanQuayle wrote:
Isolation:
The isolation performed was reducing this problem to the insertation of the NSTableView to an NSView. Furthermore, it appears that this action somehow corrupts the nib file itself, as deleting the NSTableView, NSArrayController and the NSView, and then trying to restore the original state, i.e. with any NSView, fails as the error message still appears.

The last sentence should have read as follows:

Furthermore, it appears that this action somehow corrupts the nib file itself, as deleting the NSTableView, NSArrayController and the NSView, and then trying to restore the original state, i.e. __WITHOUT__ any NSView, fails as the error message still appears.

Workaround:
One work around would be to implement the "numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:" methods as being demanded in the messages, either in NSArrayController itself via a category or in a subclass.

Probably for the same reasons why the methods in question were not implemented in the first place, the workarounds originally purposed does appears to result in crashes or other problems, although they have not been exhaustively pursued.


Otherwise, while this is not a functional bug, discussions off list indicate that this is a bone fide error message problem and not yet another case of NSArrayController confusion.







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Error Message Bug in NSArrayController / NSTableView? (From: DumberThanDanQuayle <email@hidden>)

  • Prev by Date: Re: May I pack java in a dylib?
  • Next by Date: [ANN]RBSplitView 1.0.1
  • Previous by thread: Re: Error Message Bug in NSArrayController / NSTableView?
  • Next by thread: iPhoto plugins or extensions
  • Index(es):
    • Date
    • Thread