NSURL *storeUrl = [NSURL fileURLWithPath: [[self applicationDocumentsDirectory] stringByAppendingPathComponent: @"SingleWord.sqlite"]];
XCode says “expect ‘;’ after expression”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I get even 4 errors in this string:
1)receiver type ‘ViewController’ for instance message does not declare a method with selector ‘applicationDocumentsDirectory’ [4]
2)Parse Issue: Expected ‘;’ at end of declaration
3)Parse Issue: Expected ‘;’ after expression
4)Parse Issue: Expected expression
So I think your problem is you haven’t a method or variable “applicationDocumentsDirectory”