• 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: Locate path to file's directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locate path to file's directory


  • Subject: Re: Locate path to file's directory
  • From: John James <email@hidden>
  • Date: Sun, 27 Jan 2008 09:45:03 -0500

Maybe there is a better way to do this, but the way it worked in the old MacApp version was: the user defined directory with two kinds of files. One project file, which had a list of the 2nd type: "document" files. (The set of document files specified a model for which the app can edit and run a simulation.)
The user can edit the "documentation" files separately and store them in the designated folder. The user can create a project file and add/ subtract the document files from the designated directory. My question was related to setting up this project file.


I have implemented the editing of the path file by hand and it works fine. I just was trying to use existing api instead of creating new ones.

Yes Andy,  I think stringByDeletingLastPathComponent will work fine.
Thanks

On Jan 27, 2008, at 9:25 AM, Jerry Krinock wrote:


On 2008 Jan, 27, at 5:40, John James wrote:

My program has a file

Confusing. Is this file in the application package, part of a document bundle, or what? I suggest you reply to the list and clarify.

_______________________________________________

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


References: 
 >Locate path to file's directory (From: John James <email@hidden>)

  • Prev by Date: Re: Locate path to file's directory
  • Next by Date: Re: Running an NSTask Within an NSThread
  • Previous by thread: Re: Locate path to file's directory
  • Next by thread: Help about the Interface builder core animation function
  • Index(es):
    • Date
    • Thread