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

Re: NSMetadataItem question.


  • Subject: Re: NSMetadataItem question.
  • From: Josh Morris <email@hidden>
  • Date: Sun, 8 May 2005 10:48:35 -0500

I'm assuming you mean kMDItemIdentifier, since kMDItemID isn't a defined attribute (as far as I know), it certainly isn't in the headers, or the system Schema.xml

Nope, I meant kMDItemID... 

tenkamuteki:~ jmorris$ mdls /Applications/Address\ Book.app/
/Applications/Address Book.app/ -------------
...
kMDItemID                      = 1875119
...

It appears to be a number associated with each file. I understand that kMDItemIdentifier is different, and that kMDItemID is not in the schema or docs, but it's there for every file, and you can search by it with a raw query.

I guess since it's undocumented there's no way to find out if it's unique across volumes?

-Josh Morris
 email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSMetadataItem question.
      • From: Vince DeMarco <email@hidden>
References: 
 >NSMetadataItem question. (From: Josh Morris <email@hidden>)
 >Re: NSMetadataItem question. (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: CoreData issue when updating a file format
  • Next by Date: Re: Using AWT in Cocoa-Java app
  • Previous by thread: Re: NSMetadataItem question.
  • Next by thread: Re: NSMetadataItem question.
  • Index(es):
    • Date
    • Thread