I need to write and update XML file based on nodes.
For that I found that I need to convert local XML file into plist file.
Then I can able to update, read and write into plist file as we need.
But I didn't found any sample code regarding this.
Can anyone please post some code regarding how can I save local xml file into plist file?
How can I read, write and update that locally saved plist file?
[[NSArray arrayWithObject:[NSString stringWithContentsOfURL:myXMLFileURL encoding:NSUTF8StringEncoding error:NULL]] writeToURL:myPlistURL atomically:YES];
:) – Equanimity+[NSURL fileURLWithPath:]
), it's even recommended by Apple over a path. @Kingofbliss if you read it you can see it's kind of a joke. – Equanimity