Posts tagged ‘RSS’
TouchXML for the Win!
Last night I implemented saving and loading of the friends list. So now my app is actually useful! I used XML as the file format, because it’s so easy to use and read. Writing the file was easy enough, I just built up an NSString and wrote it out. Reading the file, though, was a different matter. I had previously used the XML reader as in the SeismicXML example, but frankly I didn’t like that method. It was a big pain in the butt. What I wanted was something like NSXMLDocument, which isn’t available on the iPhone. Luckily some wonderful dude created a look-alike library in the form of TouchXML. And some other wonder dude wrote up a RSS tutorial using TouchXML. So after all that, actually reading my XML file became a much easier thing.
Next step? I have lots of little things to do, even now that the basic functionality of my app is working. But I think that maybe now I should actually try to put it onto my iPhone and make sure it works there, and not just in the simulator.