• 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
how to separate the path name from a file name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to separate the path name from a file name


  • Subject: how to separate the path name from a file name
  • From: wamozart <email@hidden>
  • Date: Wed, 17 Dec 2008 20:52:07 +0900

Hi, I'm writing an NSDocument class code. I would like to separate the path
name from a file name.
NSString *filename = [self fileName];

returns the full path and file name. How do I get the path name only?
Thanks.
_______________________________________________

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: how to separate the path name from a file name
      • From: Kiel Gillard <email@hidden>
    • Re: how to separate the path name from a file name
      • From: "Jason Foreman" <email@hidden>
    • Re: how to separate the path name from a file name
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Background color of disclosure triangle row
  • Next by Date: The Ages Old __MyCompanyName__ Question
  • Previous by thread: Re: Background color of disclosure triangle row
  • Next by thread: Re: how to separate the path name from a file name
  • Index(es):
    • Date
    • Thread