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

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


  • Subject: SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]
  • From: Lynn Barton <email@hidden>
  • Date: Thu, 22 May 2008 20:19:14 -0700
  • Thread-topic: SOLVED: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]

Thanks, Quincy Morris, for pointing out that I needed to get the value of
the NSNumber returned by the objectForKey method. It all works now, except
that I will use unsignedLongValue, not intValue.
Lynn Barton
_______________________________________________

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:
    • NSControllers, NSLocks, NSThread, Setters and Getters
      • From: Todd Heberlein <email@hidden>
  • Prev by Date: Re: Setting iTunes album art with ScriptingBridge
  • Next by Date: Properties & GC (was Re: Cocoa et al as HCI usability problem)
  • Previous by thread: Re: CocoaDev spamming me?
  • Next by thread: NSControllers, NSLocks, NSThread, Setters and Getters
  • Index(es):
    • Date
    • Thread