Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Super-fast, lightweight, easy to use XML parser for the Mac & iOS
Objective-C
branch: master

Renamed TBXML class methods to adhere to coding standards. Added chec…

…king for ARC. More error checks. Removed all compiler/analyse warnings.

WARNING: All [TBXML tbxmlWithXMLString] etc have changed to [TBXML
newTBXMLWithXMLString] to comply with coding standards.
The code now detects if your compiling with or without ARC so there
shouldn't be any more leaks.
More error checks have been added and deprecated functions that don't
pass an error no longer crash.
All compiler and analyser warnings have been fixed.
latest commit 766b375718
Tom Bradley authored

README.markdown

What is TBXML

TBXML is a light-weight XML document parser written in Objective-C designed for use on Apple iPad, iPhone & iPod Touch devices (also Mac OSX compatible). TBXML aims to provide the fastest possible XML parsing whilst utilising the fewest resources. This requirement for absolute efficiency is achieved at the expense of XML validation and modification. It is not possible to modify and generate valid XML from a TBXML object and no validation is performed whatsoever whilst importing and parsing an XML document.

Performance

TBXML is incredibly fast! Check out this post for a good comparison of XML parsers. How To Chose The Best XML Parser for Your iPhone Project

Design Goals

  • XML files conforming to the W3C XML spec 1.0 should be passable
  • XML parsing should incur the fewest possible resources
  • XML parsing should be achieved in the shortest possible time
  • It shall be easy to write programs that utilise TBXML

What Now?

Have a play with the TBXML-Books sample project

View the "TBXML" wiki page to get find out how TBXML works. It contains many examples showing you how to use TBXML to parse your XML files. There are 2 complementary additions to extend the functionality of TBXML. These add the ability to automatically decompress files and perform asynchronous HTTP requests.

TBXML
TBXML+Compression
TBXML+HTTP


Love the project? Wanna buy me a coffee? donation



MIT License

Copyright 2012 71Squared All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.