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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:26:40+00:00 2026-05-23T03:26:40+00:00

I want to display array objects from one view controller to another view controller’s

  • 0

I want to display array objects from one view controller to another view controller’s array.
In first view controller i have parsed the xml according to that i have 12 rows in that view controller means i have 4 record with 3 different values for u r reference plz see image

in this image there are 12 rows according to 4 records now i m selecting the values from drop down list for any one team and it will set next value automatically to the other team so i pick these value in 2 diff array so count of these two array is 4 now i want to print these two array value on label in second view controller according to 2nd image i want the out put plz see this

Here u can see the values in percentage opposite of team name i want same out put
but now problem is that i have 4 object in array and i have 12 rows in second view so how can i display the out put

  • 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-23T03:26:41+00:00Added an answer on May 23, 2026 at 3:26 am

    You should use the numberOfRowsInSection to return the correct number of rows. Say your array is named listOfTeams, then that method should use: return [listOfTeams count];.

    If that’s not an option, add those 4 objects in an array, and add another 8 nil‘s with them.

    for (int i = 0; i < 8; i++)
    {
        [listOfTeams addObject:nil];
    }
    

    This is not recommended, fix your table methods instead.

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

Sidebar

Related Questions

I have one NSMutableArray with 100 objects. This is original array. I have another
I have one 'main' thread that creates an array of objects of class SlowData
I want to display the value from the array displayed below, how to write
I want to display the TIME field from my mysql table on my website,
I want to display tabular type data, but it will not be coming from
i want to display some information in a listview using the GridView. i have
I want to display the current host and database names in a view. Where
I want to display an image within a scroll area. The view port of
I want to display from cache for a long time and I want a
I have an NSMutableArray that I display through a table view. The problem is

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.