Mar 19
NSXML and the iPhone
Today I tried to deploy the recent version of Twillo to my iPhone for debugging for the very first time (I received my activation key for the official iPhone Developer Program this morning ;)). Stupidly I didn't had in mind that almost all Cocoa classes for XML handling (especiallyNSXMLDocument, NSXMLElement and NSXMLNode) are not available on the iPhone plattform. Accordingly to Erica Sadun it seems that Apple has moved them into some private Framework that should not be accessed by "mortal" iPhone developers (maybe for some performance reason or something)The NSXMLParser is still available though, but it seems for me that Apples way of "Event Driven XML Programming" is more a pain in the ass than a real alternative to NSXMLDocument and XPath. Luckily there's some promising project called TouchXML that delivers an Objective-C wrapper around libxml and uses almost the same syntax as the original Apple classes.In the following days I'll try to integrate the TouchXML framework into Twillo and I'll keep you updated with the progress ;)
