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 6170637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:04:22+00:00 2026-05-23T23:04:22+00:00

I am parsing information from my server and have all the information being downloaded

  • 0

I am parsing information from my server and have all the information being downloaded but having a rough time trying to figure out how to add the information to a table view. Basically what I would like to know is how to take the information I do have and add it to a NSMutableArray then count that object and add it to a table view but everytime I add my strings to a mutable array I get nothing… but I know all the information is being parsed correctly by my logs and a lable I placed just for testing purposes… here is the code I am using to get the information. how can I take the string I used and populate my table view?

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


    NSLog(@"Parser Was Called");

    if ([elementName isEqualToString:@"element"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"themeName"]);
    themeNameString = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"themeName"]];
    //Test first string
    label.text = themeNameString;
     }
    if ([elementName isEqualToString:@"element1"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"creator"]);
    themeCreator = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"creator"]];
    }    
    if ([elementName isEqualToString:@"element2"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"price"]);
    themePrice = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"price"]];

    }      
    if ([elementName isEqualToString:@"element3"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"twitterName"]);
    creatorTwitterName = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"twitterName"]];

      }  
    if ([elementName isEqualToString:@"element4"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"themeURL"]);
    cydiaLink = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"themeURL"]];

     }   
    if ([elementName isEqualToString:@"element5"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"themeDeciption"]);
    deciption = [NSString stringWithFormat:@"%@", [attributeDict 
    objectForKey:@"themeDeciption"]];

    }     

    if ([elementName isEqualToString:@"element6"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"themeScreenShots"]);
    screenShots = [NSString stringWithFormat:@"%@", [attributeDict 
     objectForKey:@"themeScreenShots"]];

    }        
    if ([elementName isEqualToString:@"element7"]) {
    NSLog(@"elements recieved %@", [attributeDict objectForKey:@"promo"]);
    tblViewImage = [NSString stringWithFormat:@"%@", [attributeDict 
     objectForKey:@"promo"]];

    } 

    }
  • 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-23T23:04:23+00:00Added an answer on May 23, 2026 at 11:04 pm

    you have some basic doubts (its ok, we all had those), that’s why I think you should learn by yourself to do that task (Information => Represent information on table). I would recommend you follow this tutorial:

    http://www.icodeblog.com/2008/08/08/iphone-programming-tutorial-populating-uitableview-with-an-nsarray/

    It teaches how to, from a NSMutableArray, represents information on a table. Try that and if you have any doubt, you can ask me and I help you out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to figure out how to connect to another server via
I am parsing the tabular information from the html file with the help of
I have an issue with the submitted form information. Decimal parsing fails when I
Not parsing the parameters in the beginning but parse the input string read from
I have a JS function that processes XML I GET from a server to
I need to display information from an SQL database which resides on a server,
I have ImageMagick installed on my CentOS linux server. I am trying to get
I'm having a pressing issue and I'm hoping you all can help me out.
Our shop is set up with a Team Foundation 2005 server but all development
I have been looking for a good solution all day, but Google evolves so

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.