Ono

Ono is a sensible way to deal with XML & HTML for iOS & Mac OS X.

XML support in Cocoa isn’t great (unless, of course, the XML in question is a .plist). NSXMLParser forces a cumbersome delegate model, which is extremely inconvenient to implement. NSXMLDocument is a bit nicer to use, but only works on Mac OS X, and has a large memory footprint.

Ono makes working with XML & HTML as nice as JSON.

Whether your app needs to interface with a XML-RPC webservice, scrape a website, or parse an RSS feed, Ono will make your day a whole lot less terrible.

Features:

  • Simple, modern API following standard Objective-C conventions, including extensive use of blocks and NSFastEnumeration
  • Extremely performant document parsing and traversal, powered by libxml2
  • Support for both XPath and CSS queries
  • Automatic conversion of date and number values
  • Correct, common-sense handling of XML namespaces for elements and attributes
  • Ability to load HTML and XML documents from either NSString or NSData
  • Full documentation
  • Comprehensive test suite

Posted

in

, ,

by

Tags:

Comments

Leave a Reply