TBXML

TBXML is a very fast, light-weight XML document parser written in Objective-C designed for use on Apple iPad, iPhone & iPod Touch devices.

See www.TBXML.co.uk for more information

Tuesday, 23 February 2010

TBXML Pro

I have started work on TBXML Pro!

TBXML Pro will be a chargeable version of TBXML and will contain most of the following features

UTF-16 / UTF-32 Support and Auto Detection
This allows TBXML to correctly decode file formats other than UTF-8 that contain foreign character sets like Chinese characters.


Automatic Class Generation Based on an XML Doc
This will be a tool that you can use to generate a bunch of Objective-C classes for parsing the given XML file. This can be a massive time saver, saving you from the laborious task of writing all the code parse a specific XML layout.

Basic Error Handling

I would like to include some kind of error detection wile parsing a file to help isolate the source of parsing issues.

Built in XML Browser

A built in XML Browser so you can easily browse the contents of an XML file on the iPhone.

Parse XML and return instantiated classes

This will parse an XML file and automatically instantiate a class based on the tag name if it exists. This makes it easier to parse a file as you don't actually need to write any code to parse the XML. Just design a bunch of classes, tell the parser to parse and receive back a load of instantiated classes based on your XML content.



Extensions for specific XML formats like RSS or ATOM
These will consist of a bunch of classes designed to parse a specific XML specification. For instance, if you need to parse an RSS feed, you just need to include the TBXML RSS Extension, give it a URL and display the results. You don't need to know how the RSS specification works inorder to parse and extract the data.



An Assembler Based Core
I may add an optimised core written in pure assembly, just to make TBXML even faster ;)




22 comments:

  1. When do we expect TBXML Pro ?

    ReplyDelete
  2. Unfortunately I've been sidetracked onto another project, Particle Designer, but this is due to be released within the next week or so. My original deadline for TBXML Pro was end of June, which I think is still achievable. I have made some progress on TBXML Pro but not as much as I'd like, so I'll be starting to work on it properly very soon!

    You can find out more about Particle Designer at www.71squared.com

    Thanks

    ReplyDelete
  3. An impressive set of features ... what I would like to see is "Parse XML and return instantiated classes" whre these instantiated classes can be Core Data Managed Objects.

    Right now I'm going through the process of hand coding this instatiation process and your library makes it fairly easy to do. But automatic is better ;-)

    ReplyDelete
  4. Hi Andrew,

    Thanks for the comments! I shall have a look at adding an option to generate Core Data Managed Objects. It would be a great feature and should be fairly straight forward to add in.

    Thanks!

    ReplyDelete
  5. Awesome feature set, I'm especially after the automatic instance generation and the RSS extension. Please keep us posted.

    ReplyDelete
  6. Hi all,

    Thanks for the continued interest in TBXML Pro!

    I have made some progress with the project but not as much as I would have liked. My other project, Particle Designer, has take priority over the past 6 weeks.

    However, Particle Designer is now settling down so I should be able to get my head back into TBXML Pro!

    Stay tuned ;)

    ReplyDelete
  7. Any word on when this will be ready for release?

    ReplyDelete
  8. Hi all,

    I've made quite a bit of progress on TBXML Pro but I'm still ironing out a few issues. I'll let you all know when I'm nearing completion.

    Thanks for your patience

    ReplyDelete
  9. Thanks for the update... *waiting patiently*

    ReplyDelete
  10. What kind of pricing will you have for TBXML Pro?

    I'm developing an iPhone app (my first) to work in conjunction with my web app that provides info in a RESTful way.

    Love your style of making it easy to use and parse XML, compared to the other options I've looked at and tried to understand.

    I'm only 2 weeks into my first iPhone project, so please forgive my ignorance... but there was mention of the Pro version working with Core Data in some way (Core Data is next on my list to learn after these XML parsing pieces are further along and better understood.)

    But, would that mean it's a one-to-one relationship between what's in the XML stream, and the format of the Core Data data structure?
    And if so... could there be some kind of middleman translation piece?
    I don't know if that makes sense in this context.
    But I know what I receive from the web service as XML won't match what I want my iPhone data structure to be like in a 1-to-1 way.

    Greg

    ReplyDelete
  11. Hi Greg, I've yet to look at how much the pro version will be priced at but it won't be extortionate. I'd rather sell a larger quantity at a lower price and have more people using it.

    With core data there will be auto generate and mapping functions between the source XML and the core data model.

    Hope this helps

    Tom

    ReplyDelete
  12. Is it worth waiting any longer or did you abandon this project? It's been over 12 months now...

    ReplyDelete
  13. I'm sorry it's taken so long to move this project along. I've been extremely busy with a few other projects (Particle Designer / Glyph Designer / Snowtel all available through 71Squared.com).

    TBXML is still doing well and I think TBXML Pro would be a great addition so I have every intention to finish it off. I'm just struggling to find the time at the moment. Hopefully, the other projects will start to settle down now so the release date won't be to far off into the future.

    Thanks for your patients

    ReplyDelete
  14. Good luck to finish projects.

    ReplyDelete
  15. 18 months and counting... :(

    ReplyDelete
  16. 21 months... ok, 3 more and then I give up and do it on my own...

    ReplyDelete
  17. 2 years and no longer counting...

    ReplyDelete
  18. 2 years is a long time and in that time I've been diagnosed with cancer and my 2 and a half year old daughter has died.

    so sorry its inconvenienced you so much

    ReplyDelete
    Replies
    1. Being the father of a one year old daughter, I can roughly imagine what that must mean to you. I'm really sorry for you, no parent should live longer than its children :( May she rest in peace. Also, all the best for you with regards to your health! Don't bother about anonymous comments. Take care!

      Delete
  19. Hey Mickey, thanks for the support! I wouldn't normally post something so personal but Anonymous just really seem to hit a nerve. After all TBXML is an open source library! I would have loved to have the time to do more work with it, but work will always come second to my health and my family. It has been a tough few years but I have since made a full recovery and my wife has just given birth to our third child ;) Maybe in the future I will pick up TBXML Pro again but it will be on my own terms.

    You take care too Mickey!

    ReplyDelete