Swift, XML file store, access and Edit in IOS file System

I am fetching the XML and i want to store the XML in the iPad through my App in swift language. I need to Edit the XML and send it back to the web service.

Can someone please guide me what type of code i need to do or search?

Thanks in advance,

The general strategy here is:


1. get the XML from your web service using NSURLSession


2. parse it into some internal representation using NSXMLParser or libxml2


3. modify that internal representation


4. render it to XML using libxml2


5. send the XML back to your web service using NSURLSession


None of these steps are particularly Swift specific, so if you have follow-up questions you'd be better off posting them an appropriate topic-specific area.


Share and Enjoy

--

Quinn "The Eskimo!"

Apple Developer Relations, Developer Technical Support, Core OS/Hardware

Swift, XML file store, access and Edit in IOS file System
 
 
Q