• 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: Wed, 18 Mar 2009 19:35:55 -0700

There's actually a pretty good example of how to do this at:

http://developer.apple.com/samplecode/QTMetadataEditor/index.html#// apple_ref/doc/uid/DTS40007652

On Mar 17, 2009, at 8:19 PM, David Yamartino wrote:


Thanks. I'll check it out.

David


On Wed, Mar 18, 2009 at 1:14 PM, Scott Cherf <cherf@ambient- light.com> 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
References: 
 >Populating a view with folder/file list (From: David Yamartino <email@hidden>)
 >Re: Populating a view with folder/file list (From: Scott Cherf <email@hidden>)
 >Re: Populating a view with folder/file list (From: David Yamartino <email@hidden>)

  • Prev by Date: Re: Problem sending data with CFHTTPMessage
  • Next by Date: Re: gcc and bitwise right shift
  • Previous by thread: Re: Populating a view with folder/file list
  • Next by thread: Just a reminder: iPhone OS 3.0 SDK contents under NDA
  • Index(es):
    • Date
    • Thread