• 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: NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser


  • Subject: Re: NSBrowser
  • From: James DiPalma <email@hidden>
  • Date: Mon, 15 Oct 2001 09:38:49 -0700

On Thursday, October 11, 2001, at 07:43 AM, Drew McCormack wrote:

But I also want to be able to update some other things whenever a browser sell is clicked, depending on which cell was clicked. I thought I could do this by setting the target of the browser, but the action seems to get called before the cell is selected, so I can't figure out how to determine which cell was clicked.

[browser selectedCell] in a browser's action method seems to return the cell clicked on. What are you doing differently?

[NSBundle loadNibNamed: @"Browser" owner:self];
[browser setTarget:self];
[browser setAction:@selector(makeSelection:)];


-jim


References: 
 >NSBrowser (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: Rendering a View into an Image
  • Next by Date: Re: Instantiating window from nib
  • Previous by thread: NSBrowser
  • Next by thread: Re: NSBrowser
  • Index(es):
    • Date
    • Thread