The file is inside your application directory? Than you should use
NSBundles's API to find resources.
NSString* thePath = [[NSBundle mainBundle] pathForResource:filename
ofType:@"txt"]
Amin
Am Mo,04.08.2008 um 06:43 schrieb Patrick Walker:
It seems that whenever I use Xcode to spawn the p
when i refer to a file, i used:
file = [[NSMutableDictionary alloc] initWithContentsOfFile:[Folder
stringByAppendingPathComponent: FileName]];
Folder is set up as:
Folder = [[NSString alloc] initWithString:[@"path"
stringByExpandingTildeInPath]];
and Filename is:
FileName= [[NSMutabl
On Mon, Aug 4, 2008 at 4:43 PM, Patrick Walker <[EMAIL PROTECTED]> wrote:
> It seems that whenever I use Xcode to spawn the program, it is able to find
> the file but when spawning the program from Finder, it can never, ever find
> the file. I've been looking online and no one seems to have come a
It seems that whenever I use Xcode to spawn the program, it is able to
find the file but when spawning the program from Finder, it can never,
ever find the file. I've been looking online and no one seems to have
come across this before or maybe it's because it's so late that I'm
not seeing