Search code examples
iphoneobjective-ccocoaconcurrencynsxmlparser

Is NSXMLParser's parse method asynchronous


Is NSXMLParser's parse method asynchronous?

in other words if i have an NSXMLParse object and I call [someParseObject parse] from the main thread, will it block the main thread while it does its thing?


Solution

  • It is not asynchronous so it will block the main thread.