You should use the path methods on NSString:
NSString * filePath = [[path
stringByAppendingPathComponent:@"myfolder"]
stringByAppendingPathComponent:@"myfile.xml"];
Cheers,
Dave
On 23 Jan, 2009, at 11:00 PM, mathew wrote:
should I just manually build a file path string by adding "/myfold
hello,
i'm writing some code that saves a file on the iphone,
there's no user intervention / file dialog involved.
so once i've found the documents directory
NSArray *paths =
NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
NSUserDomainMask, YES);
if ([paths count] < 1