I’m trying to create a file to store some simple data in the document directory of my app…I’m not getting any error messages but it also doesn’t seem to be working…any idea what I am doing wrong?
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
//set file count
int itemcount = [fileList count];
NSLog(@“%d”, itemcount);
if (itemcount > 0) {
//set some vars
BOOL hasmaster = FALSE;
//loop through looking for master.plist
for (NSString *s in fileList){
NSLog(@“%@”, s);
}
} else {
NSLog(@“Need to make master.plist”);
[[paths objectAtIndex:0] stringByAppendingPathComponent:@“master.plist”];
}