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 have two cell arrays one called info{} and the other is called data{}
I have a form which collects user info including name, location, url, email address
I'm having a hard time understanding and therefore managing arrays and indexes manually in
Having a heckuva time with this one, though I feel I'm missing something obvious.
I am having trouble at creating a specific array. What i want is to
having a Type instance of an array, e.g.: var type = typeof(Guid[]); if (type.IsArray)
So, I'm trying to send an email via the mailchimp api... the documentation regarding
I am having some problems accessing some array data effectively and need a couple
I am having hard time understanding typedef pattern for arrays. typedef char Char10[10]; void
Having been a PHP developer on LAMP servers for quite a while, is there

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.