• 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: Newbie: Current Apps Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Current Apps Directory


  • Subject: Re: Newbie: Current Apps Directory
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 15 Apr 2003 17:36:57 -0700

On Tuesday, April 15, 2003, at 4:54 PM, Craig Bakalian wrote:

Hold on here. My application permits the user to place files in the
same folder as the application so the application can access the files
(all the files). I did not want the user doing complex selection in an
open panel. I felt the user experience would be simplified. Writing a
help book that tells the user to place a file in this or that ~/Library
folder is not a good idea (my opinion).

Please at least give the user the option of specifying the folder(s) in which the files should be found, if not the individual files themselves. If you make the default value for this location the same folder in which the app is located, that may be OK, but I don't recommend making the location unalterably the folder in which your app resides. Often applications reside on file servers, on CD-ROMs, in the /Applications directory, or otherwise someplace that some users can't write to. Also, many users prefer to keep their applications separate from their data files, for example because they use different backup strategies for them.

In case it hasn't been mentioned before, [[NSBundle mainBundle] bundlePath] will tell you where your (bundled, Cocoa) application resides. There is a CFBundle equivalent as well.

Douglas Davidson
_______________________________________________
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.

References: 
 >Re: Newbie: Current Apps Directory (From: Craig Bakalian <email@hidden>)

  • Prev by Date: RE: POST & GET Examples don't work behind a firewall?
  • Next by Date: Re: Transparent Windows are Opaque to Classic
  • Previous by thread: Re: Newbie: Current Apps Directory
  • Next by thread: Basic concepts help. making IB connection to a specific instance
  • Index(es):
    • Date
    • Thread