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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:11:16+00:00 2026-05-20T01:11:16+00:00

Guys, I didn’t find a clean and a simple solution for the following issue.

  • 0

Guys, I didn’t find a clean and a simple solution for the following issue. I’ve a UITableViewController view which uses a UITextFieldCustomCell that I implemented.

The table has several rows, that requires the user to scroll down an enter values on each cell, which contains a UILabel and a UITextField.

Every time the user change the value on the UITextField the UIViewController gets notified and stores the value in a NSDictionary using the cell indexPath.row property, in order to identify what’s the key for the cell where the value needs to be stored.

The problem is if the user keep focus on a cell and then scrolls up or down (removing the cell from the view) makes me unable to get the indexPath for the cell, since it’s not visible.

So, I cannot store the value since I don’t know from which cell the value is coming.

Have anyone run through this issue before?. It seems to be a common design between iPhone applications, does anyone have an idea if is this a good implementation or not?

Thanks!

  • 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-20T01:11:17+00:00Added an answer on May 20, 2026 at 1:11 am

    I assume you’re observing textFieldDidEndEditing:. Are you saying it’s not firing, or that it is firing, but it’s no longer in any of the cells (possibly because it’s in the process of being removed)?

    Assuming the latter, my approach would be to use setTag: on the UITextField to make it easy to keep track of its index. This would save you from ever hunting around in your cells, even in the case that they are on the screen.

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

Sidebar

Related Questions

Hi guys i am making an application for iPhone that will allow user to
Hope you guys don't mind me asking this question, but I find myself at
I was right at the beginning to learn Flask and following the tutorial at
I have a table with a few relational columns and one XML column which
Guys, Im calling a JsonResult but the getJSON is sending a null parameter to
guys, I have the problem when copying database from local assets folder to /data/data/package_name/databases
Newbie question URL: /categories/new?parent_id=6 Controller: def new @category = Category.new( :parent_id => params[ :parent_id
I would like to replace all spaces in the image tags of a html
I have a quick question for you all. I'm trying to convert over some
I am having some difficulties with the XML dataype when using $.ajax . I

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.