• 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: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]


  • Subject: Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 22 May 2008 17:08:09 -0700


On May 22, 2008, at 16:37, Lynn Barton wrote:

I can't get the OSType code
with the key NSFileHFSTypeCode. Each time I try to access this data I get a
different result

Is it perhaps something to do with the fact that [fileAttributes objectForKey: NSFileHFSTypeCode] is documented to be a NSNumber object, so the actual type code would be [[fileAttributes objectForKey: NSFileHFSTypeCode] intValue]?



_______________________________________________

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: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode] (From: Lynn Barton <email@hidden>)

  • Prev by Date: Re: updated post
  • Next by Date: autoresizing window and scroll bars
  • Previous by thread: Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
  • Next by thread: Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
  • Index(es):
    • Date
    • Thread