• 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
What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What causes NSFileManager's stringWithFileSystemRepresentation to return nil?


  • Subject: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
  • From: G S <email@hidden>
  • Date: Tue, 26 Oct 2010 04:29:12 -0700

Hi all.  I'm giving this function what appears to be a perfectly good path:

/Users/me/Library/Application Support/iPhone
Simulator/4.2/Applications/58BD5465-FD47-49E3-83AC-242961559F48/Library/Caches/4320_th.jpg

and it returns nil.  If I call UIImage's imageWithContentsOfFile with
the same path, it works.

Am I overlooking something?  I should be using this call to ensure a
legit string, right?  Thanks!

Gavin
_______________________________________________

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: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
      • From: Andy Lee <email@hidden>
    • Re: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: [NSImage] Bug in System Preferences? [solved]
  • Next by Date: Re: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
  • Previous by thread: Re: [NSImage] Bug in System Preferences? [solved]
  • Next by thread: Re: What causes NSFileManager's stringWithFileSystemRepresentation to return nil?
  • Index(es):
    • Date
    • Thread