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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:48:16+00:00 2026-05-29T03:48:16+00:00

i fetch data from server and populate VableView according to income data array. I

  • 0

i fetch data from server and populate VableView according to income data array. I want to my app display the details of the string in a new view when the user clicks on the cell. I’ve populated the TableView and connected a new view and can push new view by clicking the cell, but i have no idea about how to connect all elements of array with the second view.

//the result is JSON data i bring from a url
    NSMutableArray *messageContentArray= [[result objectForKey:@"message"] valueForKey:@"message"];

                NSUserDefaults *savedContec=[NSUserDefaults standardUserDefaults];
                [savedContec setObject:messageContentArray forKey:@"messageArray"];

This is my code of parsing the data and saving it and:

 NSArray *someThing=[[NSUserDefaults standardUserDefaults] valueForKey:@"messageArray"];

    cell.textLabel.text= [someThing objectAtIndex:indexPath.row];    

  //  NSString *st= [someThing substringToIndex:10];
  // i will show first 10 charakters from the message as the cell.textlabe.tex but haven't
  // prepared that part.. What i want is, when i click a cell, in the second view display 
  // all the text for that element of array 

this is how i populate the tableview cells. As i explained in the code, when i click a cell, i want to display all the text for that element of array in the second view.

NOTE: I have prapared views and connections

  • 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-29T03:48:17+00:00Added an answer on May 29, 2026 at 3:48 am

    wether u have done any sample app, how to display the data onto views…

    check the below sample

    http://www.raywenderlich.com/1797/how-to-create-a-simple-iphone-app-tutorial-part-1

    there are 3 parts in this tutorial, go through it, u will come to know how to use it in ur app.

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

Sidebar

Related Questions

I am new in iphone,in my app required data from the server. 1)mysql database
i have data that i fetch from an email server i want to eliminate
I have an app where I fetch data from server(json) in the form of
I have an application where i want to fetch data from local server. like
I want to fetch data from server side to my application which is in
In my web application, I need to fetch data from server to populate contents
I want to fetch some data from a server protected with an username and
In asp.net(C#) i want to fetch data from a database using a stored procedure
I fetch a json object from the server and populate my view. I then
Using jQuery Ajax to fetch data from local server: it works well with IE8

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.