• 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
NSBrowser is asking for wrong column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser is asking for wrong column


  • Subject: NSBrowser is asking for wrong column
  • From: Sam Stigler <email@hidden>
  • Date: Wed, 30 May 2007 19:13:54 +1000

Hi,

I'm almost done implementing my first NSBrowser delegate (and boy is it complex), but I'm running into a strange problem with the browser:willDisplayCell:atRow:column: method: The first column (column 0) will load fine, but when I click on an a row in column 0 browser:willDisplayCell:atRow:column: will get called again, again asking for a row in column 0 (more specifically, row 0, column 1; even though I clicked on row 4). When the string is returned, it is actually populated in row 0, column 1 (the second column). The count method appears to be working okay for column 1, although I haven't yet implemented it for any column greater than 1 because I'm still in the debug stage. Still, I'd think that wouldn't matter given that all the browser should need information about when I click a row in column 0 is column 1. Am I right about this? Does anyone know what I could be doing wrong here?

Thanks,
Sam
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSBrowser is asking for wrong column
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Objective-C++ and NSInvocation (or IMP)
  • Next by Date: Re: Reordering NSOutlineView through drag&drop (binding)
  • Previous by thread: Re: Reordering NSOutlineView through drag&drop (binding)
  • Next by thread: Re: NSBrowser is asking for wrong column
  • Index(es):
    • Date
    • Thread