I have an external valid XML file. Can I simply save it in the Xcode project folder to make it available as a plist?
Share
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.
Whether its plist or xml you can drag and drop in your XCode project resources folder (its common place where we save application resources like property list files, xml files,images). You can read file using:
If its an xml
If you are looking to parse XML using NSXMLParser you can give that file to NSXMLParser to load and parse.
initWithContentsOfURL:method