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?
It is not asynchronous so it will block the main thread.
NSXMLParser can parse URL/Data, If we parse URL directly, it will freeze the UI(Main Thread),instead of that you can use Data Parsing by using NSXMLParser.Please go through NSURLConnection API for asynchronous fetching the data.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With