• 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: how to determine file path from a document's NSFileWrapper?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to determine file path from a document's NSFileWrapper?


  • Subject: Re: how to determine file path from a document's NSFileWrapper?
  • From: "Louis C. Sacha" <email@hidden>
  • Date: Sat, 27 Dec 2003 16:03:35 -0800

Hello...

I replied to your previous message from a few days ago, but my message seems to have dissapeared somewhere between my out box and the list... ??? ...

Anyway, the NSFileWrapper method

- (NSString *)filename;

should return the path of the file wrapper.

Louis

My document package class has a NSFileWrapper passed to -loadFileWrapperRepresentation:ofType:. This is fine except that I need to determine the file path for some of the files within the package (images, etc.) since methods in other classes expect either a NSURL or a NSString containing the full path.

How can I determine, at the very least, the base path associated with the document's file wrapper?

TIA...

steve
_______________________________________________
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.

  • Follow-Ups:
    • Re: how to determine file path from a document's NSFileWrapper?
      • From: Steve Christensen <email@hidden>
References: 
 >how to determine file path from a document's NSFileWrapper? (From: Steve Christensen <email@hidden>)

  • Prev by Date: [NSTabView] finding current view
  • Next by Date: Re: Duh (NSTextView & Word Wrapping)
  • Previous by thread: how to determine file path from a document's NSFileWrapper?
  • Next by thread: Re: how to determine file path from a document's NSFileWrapper?
  • Index(es):
    • Date
    • Thread