NSString *resource = [[NSBundle mainBundle] pathForResource"test" ofType"txt"];
NSString *content = [NSString stringWithContentsOfFile:resource];
there is a test.txt file in my Resource directory but both of these values are nil. Any ideas?
NSString *content = [NSString stringWithContentsOfFile:resource];
there is a test.txt file in my Resource directory but both of these values are nil. Any ideas?