Hey guys, Thanks a million for the quick replies. I was clearly bleary eyed at 4am last night.
Thanks for pointing out those 2 mistakes. One of those things the longer you look at it the less you notice!
One warning appears when i run it now, saying that the
stringWithContentsOfFile is deprecated
I know it refers to
Code:
NSString *fileContents = [NSString stringWithContentsOfFile:quotesFile];
I have tried to fix it as recomended by the following line from other users.
Code:
[NSString stringWithContentsOfFile:fullpath encoding:NSUTF8StringEncoding error:nil];
This however then doesn't actually fill the array with the data.
Can i just run the program with the warning without a problem or is there a bigger picture?
On a side not can you submit your app to apple with this or any warnings?
Again Help is greatly appreciated