• 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
List files & put into an array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

List files & put into an array


  • Subject: List files & put into an array
  • From: Chad Armstrong <email@hidden>
  • Date: Mon, 2 Jun 2003 15:27:11 -0500

Okay, yet another question which I didn't find an immediate answer to from searching.

What is a good way to retrieve a list of file names from a directory (~/Documents) and put them into list, such as an NSArray? I just need the names of the files, not the info (size, permissions, etc.) associated with them.

Chad Armstrong
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: List files & put into an array
      • From: "John C. Randolph" <email@hidden>
    • Re: List files & put into an array
      • From: "Clark S. Cox III" <email@hidden>
  • Prev by Date: clear NSViews
  • Next by Date: Re: User friendly machine name (gestaltUserVisibleMachineName?) [SOLVED]
  • Previous by thread: clear NSViews
  • Next by thread: Re: List files & put into an array
  • Index(es):
    • Date
    • Thread