Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6583957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:28:36+00:00 2026-05-25T16:28:36+00:00

I am using NSXMLParser to parse some xml data. I am using some delegate

  • 0

I am using NSXMLParser to parse some xml data. I am using some delegate method like,

-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict 
-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName 
-(void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string 

This NSXMLParser is in MYAppDelegate.m, Now I want to reload the UI after completing the parsing on Home.m, also I start activity indicator when I request to web service and stop it in didEndElement. But I noticed sometimes found character dosen’t get called and My UI freezes. I want to update my UI after parsing is completed. How I can do this?
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:28:37+00:00Added an answer on May 25, 2026 at 4:28 pm

    You can try to reload your view in:

    Sent by the parser object to the delegate when it has successfully completed parsing:

    - (void)parserDidEndDocument:(NSXMLParser *)parser
    

    Sent by a parser object to its delegate when it encounters a fatal error. When this method is invoked, parsing is stopped:

    - (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello all I'm using NSXMLParser to parse some xml data. I'm using this data
I am trying to parse an XML file using NSXMLParser, but the method [parser
I am currently using NSXMLParser mathods to parse my data something like this :
When pasrsing XML using NSXMLParser, I encountered this problem when the parser received some
I am trying to parse some data using nsxmlparser, whenever there is a &(ampersand)
i am using NSXMLParser to parse xml data received from a web service in
I was using UTF-8 encoded xml for parsing using NSXMLParser. But some of the
I'm using NSXMLParser to parse a small XML file containing information about videos. One
Does anyone have some idea how to parse the following xml using event-driven model
I am using NSXMLParser to parse this XML: http://itunes.apple.com/gb/rss/topsongs/limit=50/explicit=true/xml . I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.