• 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
NSFileManager, NSDirectoryEnumerator, and File Attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager, NSDirectoryEnumerator, and File Attributes


  • Subject: NSFileManager, NSDirectoryEnumerator, and File Attributes
  • From: Jeffrey Walton <email@hidden>
  • Date: Sat, 26 Mar 2011 01:38:24 -0400

Hi All,

I'm interested in retrieving attributes of a file (extension, size,
and modified). NSFileManager will fetch a NSDirectoryEnumerator. From
NSDirectoryEnumerator, I can get a dictionary of attributes.

Where does one find a list of keys for the dictionary? I did not see
it listed in Apple's documentation [1,2,3].

Jeff

[1] NSDirectoryEnumerator,
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSDirectoryEnumerator_Class/Reference/Reference.html
[2] Information about Files and Volumes,
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/LowLevelFileMgmt/Articles/FileInfo.html#//apple_ref/doc/uid/TP40009068-SW1
[3] Low Level File Management,
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/LowLevelFileMgmt/Articles/FileManagement.html#//apple_ref/doc/uid/20000780-BBCFDGFC
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSFileManager, NSDirectoryEnumerator, and File Attributes
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Weird NSSearchField text layout bug
  • Next by Date: Re: NSFileManager, NSDirectoryEnumerator, and File Attributes
  • Previous by thread: Re: Weird NSSearchField text layout bug
  • Next by thread: Re: NSFileManager, NSDirectoryEnumerator, and File Attributes
  • Index(es):
    • Date
    • Thread