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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:42:14+00:00 2026-06-15T17:42:14+00:00

I have a dynamically generated UITableView (so I have to use prototype cells, not

  • 0

I have a dynamically generated UITableView (so I have to use prototype cells, not static cells) with many cells on it. Each cell will have a UILabel on it. Additionally, each cell will also have at least one UIControl (as of right now, it could be a UITextfield or a UISegmentedControl, but I want to keep it flexible in case I add something else in the future).

The user is going to go through and set all the controls to the state they want, then press a “Calculate” button at the end. On the click of that button, I’m going to need to be able to get information about what the user did with each control (what text the user has entered into each textfield, which segement they have selected in each control, etc.).

What would be the best way to set this up?

  • 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-15T17:42:15+00:00Added an answer on June 15, 2026 at 5:42 pm

    You should be getting these values from the model object that populates the table, not from the table itself. It’s hard to know how you should do this without knowing more about your data source, and what values you need when the user clicks a button — do you need values from all the rows? From just the row whose cell has the label cellLabel (if so, how do you know which cellLabel to pass to the method)?

    How much it can be cleaned up depends to a great extent on the structure of your data.

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

Sidebar

Related Questions

I have a dynamically generated table and for each row in the table there
I have many dynamically generated pages, made by the same PHP file, and I'd
I have multiple dynamically generated buttons with a class name of .button. Each of
I'm working with iOS 5 and have dynamically generated cells in a table (2
I have some dynamically generated XML data that will be consumed by a few
In my web app I have a dynamically generated form that I use to
I have a dynamically generated list of URL's from our internal network. For each
I have a dynamically generated table that will have an ID. If the table
I have a dynamically generated table i.e. the contents of it's cells are drawn
I have dynamically generated ImageButtons with different ImageResource for each ImageButton. Now I want

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.