• 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's current selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser's current selection


  • Subject: NSBrowser's current selection
  • From: Chase Meadors <email@hidden>
  • Date: Mon, 20 Jul 2009 20:28:40 -0500

Hi,

I'm using an NSBrowser with old-fashioned delegate methods. How can I be notified when the selection changes, and then get the correct object value for that row and column? Both NSBrowser delegate methods – browser:selectCellWithString:inColumn: and – browser:selectRow:inColumn: which the documentation states that "ask the delegate to select" never get called.

Then there's the -loadedCellAtRow:Column: method. The documentation states it "loads, if necessary, the cell and returns." Does this mean it calls
-browser:willDisplayCell:atRow:Column: to set the value before returning it?


Any help appreciated, thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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's current selection
      • From: Graham Cox <email@hidden>
  • Prev by Date: Crashes while reordering columns in a NSTableView
  • Next by Date: Cocoa Graphics Parsing
  • Previous by thread: Re: Crashes while reordering columns in a NSTableView
  • Next by thread: Re: NSBrowser's current selection
  • Index(es):
    • Date
    • Thread