• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[ANN] Objective-XML 4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] Objective-XML 4.3


  • Subject: [ANN] Objective-XML 4.3
  • From: Marcel Weiher <email@hidden>
  • Date: Thu, 18 Dec 2008 15:39:15 -0800

Just a quick note that I have just released version 4.3 of Objective- XML, an efficient and convenient XML framework for Cocoa (Touch):

	http://www.metaobject.com/downloads/Objective-C/Objective-XML-4.3.tgz


From the Readme:

Objective-XML is an XML processing framework for Objective-C. It provides both highly efficient implementations of existing DOM and SAX APIs as well as a new Message oriented API for XML (MAX).


MAX

The Message Oriented API for XML is a streaming API similar to SAX with two important innovations. First, it translates from XML element names directly to specific Objective-C messages, so clients don't have to do string matching on the tag names. Second, it handles most of the book-keeping associated with tree-building, while giving to the client full control over what kind of tree to build, including none at all.

MAX's flexibility allows clients of the parser to easily create DOM or SAX style parsers, or freely mix elements as needed. In the tradition of eating your own dog food, Objective-XML's SAX and DOM parsers are both built on top of MAX.

SAX

Objective-XML's SAX parser is plug-compatible with Cocoa's NSXMLParser, but performs much faster while using far less memory. How much faster and how much less memory? Usually around an order of magnitude on both counts.

DOM

A DOM is an inherently memory intensive way of representing XML documents. So although Objective-XML's DOM is relatively efficient both in memory and CPU usage, it is not just much more efficient to build a MAX parser to your own objects, it is usually easier, too.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Enabling add button
  • Next by Date: Return key for sheet button - different behaviour on 10.4
  • Previous by thread: Re: NSTableView cross-coupling rows when editing strings?
  • Next by thread: Return key for sheet button - different behaviour on 10.4
  • Index(es):
    • Date
    • Thread