• 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: Populating a view with folder/file list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Populating a view with folder/file list


  • Subject: Re: Populating a view with folder/file list
  • From: Scott Cherf <email@hidden>
  • Date: Tue, 17 Mar 2009 20:14:06 -0700


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
  • Follow-Ups:
    • Re: Populating a view with folder/file list
      • From: David Yamartino <email@hidden>
References: 
 >Populating a view with folder/file list (From: David Yamartino <email@hidden>)

  • Prev by Date: Populating a view with folder/file list
  • Next by Date: Re: Populating a view with folder/file list
  • Previous by thread: Populating a view with folder/file list
  • Next by thread: Re: Populating a view with folder/file list
  • Index(es):
    • Date
    • Thread