• 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: Some questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some questions...


  • Subject: Re: Some questions...
  • From: Paolo Manna <email@hidden>
  • Date: Fri, 16 May 2003 05:32:05 +0200

On Thu, 15 May 2003 23:40:28, Daniele M. wrote:

I would to know:
- the remain free space of an hard disk
- the list of devices (hard disk, removable media)
- the kind of a file ("quick time movie","text edit document"...)
- the file privilegies (can i set these privilegies? how?)
- the file comments (and set it)
- is locked or not? (and set it)
- the path of a file
- the owner
- the group
- the attached app

Assuming that, as it is Cocoa List, you're asking about getting them from Cocoa, then the relevant classes that do most of the work you ask for (possibly not all, file Finder comments could be an example, didn't check further) are NSWorkspace and NSFileManager. In some cases, why not use just the standard C calls like stat()?

Cheers
Paolo
_______________________________________________
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.

  • Prev by Date: Re: animating the dock icon
  • Next by Date: Re: Mimic Finder File Listing
  • Previous by thread: Re: Some questions...
  • Next by thread: HTML hexidecimal code from NSColor
  • Index(es):
    • Date
    • Thread