NSBrowser
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