I want to save an NSMutableArray or NSDictionary as a permanent file. Then, I would like to reopen the file later.
Is this possible? If so, how can I do it?
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.
To write in file
To read from file
myArray will be nil if file is not present. And NSDictionary has similar methods. Please check the reference for the details of these methods.