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

NSBrowser


  • Subject: NSBrowser
  • From: Riccardo Santato <email@hidden>
  • Date: Tue, 4 Dec 2001 12:26:08 +0100

Hi everybody,

I would like to implement an NSBrowser with just one column (for
something similar to WinCommander or Directory Opus...)
How can I make the program loads a particular directory at startup ?
I've read I must implement these two methods :

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

Are they responsible for directory displaying ?
The main problem is I just want to display in the most direct way the
directory I specify in a NSString: I've read the SimpleBrowser example
but I find it difficult to read because it does too many things for me :-))
Thanks in advance !

--
Riccardo Santato
www.riccardosantato.com


  • Prev by Date: RE: How many classes?!? (was: Question)
  • Next by Date: Cocoa & signal handlers
  • Previous by thread: Re: alarm under Alert
  • Next by thread: Cocoa & signal handlers
  • Index(es):
    • Date
    • Thread