ios - How to set progressview for TBXML(parsing XML) -


i parsing xml file tbxml.
want set progressview that.

i need total number of lines , current line number of parser(tbxml).

get total line numbers of xmlstring:

[[string componentsseparatedbycharactersinset: [nscharacterset newlinecharacterset]] count]; 

now, how can current line number of parser set value progressvuew


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -