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

  • Home
  • SEARCH
  • 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 9132621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:20:30+00:00 2026-06-17T08:20:30+00:00

I am receiving some strings in my SecondViewController. In this viewcontroller i have a

  • 0

I am receiving some strings in my SecondViewController.
In this viewcontroller i have a tableView but not yet any tableCells.

I am receiving this information:

2013-01-14 11:24:22.342 Scanner[16200:c07] (
    123456,
    "Jeans lynn skinny coj glass",
    "119.90",
    "S, M, L, XL",
    "G-Star"
)
2013-01-14 11:24:22.342 Scanner[16200:c07] jsonstring:{"2":"G-Star","3":null,"product":"Jeans lynn skinny coj glass","4":"119.90","maten":"S, M, L, XL","5":"S, M, L, XL","barcode":"123456","afbeelding":null,"0":"123456","winkel":"G-Star","prijs":"119.90","1":"Jeans lynn skinny coj glass"}
2013-01-14 11:24:22.342 Scanner[16200:c07] barcode:123456
2013-01-14 11:24:22.343 Scanner[16200:c07] product:Jeans lynn skinny coj glass
2013-01-14 11:24:22.343 Scanner[16200:c07] prijs:119.90
2013-01-14 11:24:22.343 Scanner[16200:c07] maten:S, M, L, XL
2013-01-14 11:24:22.343 Scanner[16200:c07] winkel:G-Star

From this code

    array = [[NSArray alloc] init];
    array = a;
    NSLog(@"%@", a);
    string = [[NSString alloc] init];
    string = s;
    NSLog(@"jsonstring:%@", s);
    NSString * barcode = [a objectAtIndex:0];
    NSLog(@"barcode:%@", barcode);
    NSString * product = [a objectAtIndex:1];
    NSLog(@"product:%@", product);
    NSString * prijs = [a objectAtIndex:2];
    NSLog(@"prijs:%@", prijs);
    NSString * maten = [a objectAtIndex:3];
    NSLog(@"maten:%@", maten);
    NSString * winkel = [a objectAtIndex:4];
    NSLog(@"winkel:%@", winkel);

Does anyone know how to put this in a new cell with a the label from that cell “123456”, with an image next to it, and the other information in a subviewcontroller?

I am willing to put a bounty on this question after 2 days

  • 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-06-17T08:20:32+00:00Added an answer on June 17, 2026 at 8:20 am

    You can simply use UITableViewDelegate http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableViewDelegate_Protocol/Reference/Reference.html.

    using:

    • (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView (return the number of sections you want in your tableview)
    • (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section (returning the number of cells you want for a specific section)

    and of course:

    tableView:cellForRowAtIndexPath:

    example:

    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    
    return 1;
    
    }
    
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    
    return [array count];
    
    }
    

    and your cell:

        - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
        static NSString *CellIdentifier = @"Cell";
    
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
        }
    
        // Set up the cell...
    
      cell.text = @"lol";
    
    
        return cell;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application is receiving some date information from WMI. This in the form of
I am receiving data from a web service, and some of the strings have
maybe this is a noob question, but I'm receiving some data over TCP and
I have seen some other questions about this but the errors were related to
I'm receiving a string like this: { key1 = some value; key2 = some
some weeks from now I've been receiving this strange message almost every time I
I have some troubles with receiving data on server side. Here goes the code:
I have applications(WinForm) that gets some objects from webservice. After receiving array I transform
I have a program which will be receiving information from an external source via
I read many tutorials but I could not get this running for my project.

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.