Re: Populating a view with folder/file list
Re: Populating a view with folder/file list
- Subject: Re: Populating a view with folder/file list
- From: David Yamartino <email@hidden>
- Date: Wed, 18 Mar 2009 13:19:25 +1000
Thanks. I'll check it out.
David
On Wed, Mar 18, 2009 at 1:14 PM, Scott Cherf
<email@hidden> wrote:
I'm working on a similar problem. You may want to look at NSTreeController and NSOutlineView.
Scott.
On Mar 17, 2009, at 7:37 PM, David Yamartino wrote:
I have a library of text files within a folder, which contains subfolders, etc.
I want to populate a view within a window with the file structure of the library. I'd like it to show up as a list of folders, and then when you click on a folder, it will expand to show the contents below it - kind of like the file list you get when you are looking at a folder in the Finder and you hit command-2, but I don't need anyfile information like date, size, etc., just the name of the folder or file.
How would I do this?
And should the view within the window be a tableView, textView, dataView?
Thanks for your help,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden