XML Generation in Objective-C with XMLDocument
XML generation is one of the most common programming tasks done by several developers around the world, with XML we can easily integrate different platforms, using a data format that is very easy to understand and work with.
Unfortunately iOS API doesn’t provide a built in class that help us with XML generation, so I decided to write my own helper class for this purpose.
XMLDocument is a very simple class, you may not found several features that are very common in XML generation, but with this class I could easily implement what I need to get one of my iOS project done.
Here’s how the class is implemented, any help on improvements will be appreciated.
(more…)