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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:53:48+00:00 2026-05-19T16:53:48+00:00

i am having 3 arrays with info regarding peoples. one array is with name,second

  • 0

i am having 3 arrays with info regarding peoples.

one array is with name,second array with email,third array with phone number.

eg:{jon,Willems…},{jon@example.com,Willems@example.com…},{123456,123456,…}

I need to display agent names in table.

when ever i selects people name in table i need to retrieve that particular person email and phone number.

how can i done,can any one please post some code or tutorial.

Thank u 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-19T16:53:49+00:00Added an answer on May 19, 2026 at 4:53 pm

    In didSelectRowAtIndextPath get the indexPath value

    - (void)tableView:(UITableView  *)tableView didSelectRowAtIndexPath:(NSIndexPath  *)indexPath
    {
    [email objectAtIndex:indexPath.row];
    [phoneNumber objectAtIndex:indexPath.row];
    }
    

    EDIT:

    The Above code assumes that a user is associated with a single email, phone number

    If a user name is associated with many email, phone numbers use NSDictionary or Custom Object.

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

Sidebar

Related Questions

I having two arrays say, $array1 = array(code => E0089, desc => some description);
I'm having problems getting values in my multidimensional arrays Array ( [0] => Array
i am having a array called temparray and have 2 seperate arrays .i have
I have two cell arrays one called info{} and the other is called data{}
How to pull inner array having key address1 _id: 2, info: { address1: {
Hello I'm having problems sending arrays, structs and arrays of structs from PHP to
I am trying new things with arrays and having some difficulty. I am trying
i am having difficulty with 2D arrays and inserting objects that take 3 parameters
I'm having a hard time working with arrays. Coming from AS2/AS3 and garbage collection
I'm having a bit of a problem using FieldOffset correctly with arrays. The code

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.