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

Small problem with NSBrowser


  • Subject: Small problem with NSBrowser
  • From: Ludovic Marcotte <email@hidden>
  • Date: Sat, 26 Jan 2002 12:33:34 -0500 (EST)

Hi,

I've a NSBrowser object that displays correctly the data since the
delegate implements the following methods in my controller's class:

- (int) browser: (NSBrowser *) sender
numberOfRowsInColumn: (int) column;

- (void) browser: (NSBrowser *) sender
willDisplayCell: (id) cell
atRow: (int) row
column: (int) column;

- (NSString *) browser: (NSBrowser *) sender
titleOfColumn: (int) column;

Everything works fine. However, if I implement:

- (BOOL) browser: (NSBrowser *) sender
selectRow: (int) row
inColumn: (int) column;

this method is never called while it should when the user clicks on a
NSBrowserCell.

Anyone knows why? I'm using Mac OS X 10.1.2 with the latest development
tools.

Thanks a lot,

Ludovic

--
Live as if you were to die tomorrow.
Learn as if you were to live forever.
- Gandhi


  • Prev by Date: Re: How viable is Cocoa development?
  • Next by Date: Re: Localized questions
  • Previous by thread: Re: How do I make NSData from cabron-Handle
  • Next by thread: Re: Small problem with NSBrowser
  • Index(es):
    • Date
    • Thread