Showing posts with label nsxmlparser. Show all posts
Showing posts with label nsxmlparser. Show all posts

Tuesday, 30 April 2013

libxml2 vs NSxmlParser

Libxml2 is c base and NSxmlParser is a real cocoa class. Libxml2 is always faster than NSxmlParser in terms of performance. 

If performance is an is an issue, you should definitely use libxml2, but if you are only prosessing a small amount of data NSxmlParser is a better solution. NSxmlparser it ismuch easier to implement and understand.

written by: infinitywebseo