NSString and txt file
NSString and txt file
- Subject: NSString and txt file
- From: Martha Espinosa <email@hidden>
- Date: Wed, 14 Apr 2004 14:44:14 -0600
Hi,
I am trying to read in .txt file from a mounted drive so I have tried
the following...
using applescript I mount a network share then copied my
SWinstallers.txt file to the /tmp directory and in my AppController.m
I added the following
NSString *path = [NSString stringWithFormat:@"/tmp/SWinstallers.txt",
NSHomeDirectory()];
OR
NSString *path = [NSString
stringWithFormat:@"%@/tmp/SWinstallers.txt", NSHomeDirectory()];
When my table comes up it displays nothing....
another way I tried was in my AppController.m
NSString *path = [NSString
stringWithFormat:@"/Volumes/Production/SWinstallers.txt",
NSHomeDirectory()];
OR
NSString *path = [NSString
stringWithFormat:@"%@/Volumes/Production/SWinstallers.txt",
NSHomeDirectory()];
can anyone point out what am I doing wrong??
_______________________________________________
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.