Re: portable app

2010-10-02 Thread Amy Heavey
Just to let you know, This is great, it now safely stores everything on the thumbdrive for easy access on any machine I like. A perfect solution. Thank You, Many Thanks Amy On 1 Oct 2010, at 12:00AM, Ariel Feinerman wrote: Are you sure in the using of 'library/application support'? Ther

Re: portable app

2010-10-01 Thread Amy Heavey
This looks great, so I can store everything on the thumbdrive without having to set up symlinks on the machines I want to use, and I don't have to reference the drive itself as I can take the location from the app bundle, perfect. ( a bit like web relative links I suppose,) sorry, I did mea

Re: portable app

2010-10-01 Thread Ariel Feinerman
He looks for technique to >store the app and all the data/images on a thumb drive, not to the /Library. 2010/10/1 Laurent Daudelin : > [NSBundle mainBundle] will return the path of the application bundle, not > ~/Library/Application Support/[App Name]. You need to use > "NSSearchPathForDirectori

Re: portable app

2010-09-30 Thread Laurent Daudelin
[NSBundle mainBundle] will return the path of the application bundle, not ~/Library/Application Support/[App Name]. You need to use "NSSearchPathForDirectoriesInDomains" with the appropriate masks to search in the user's Library. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Re: portable app

2010-09-30 Thread Ariel Feinerman
Are you sure in the using of 'library/application support'? There is of the matter is that one is designed for the app data not for the user data. Maybe you should save such files in a directory relative to the bundle or in the bundle itself (not good idea). In this case you can launch your app fro

Re: portable app

2010-09-29 Thread Matt Neuburg
On Sep 29, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote: > Message: 6 > Date: Wed, 29 Sep 2010 17:48:43 +0100 > From: Amy Heavey > Subject: portable app > To: cocoa-dev@lists.apple.com > Message-ID: > <5bd34c42-c5df-42a4-a054-9f6f9376d...@willowtre

portable app

2010-09-29 Thread Amy Heavey
I'm writing an app for personal use, using core data. At the moment it's set up to save the data file in the library/ application support/myapp folder on the machine. I also want to store a growing number of images to use with the app, so they are set to store in this folder as well. Howev