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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:42:13+00:00 2026-05-17T06:42:13+00:00

I asked a question the other day about how rows are added to a

  • 0

I asked a question the other day about how rows are added to a UITableView after the table is shown and I was told that the datasource should be updated and insertIndexPaths:withRowAnimation should be called.

My UITable view contains rows of data, when the row is clicked another screen is shown which allows the user to edit the data, once they click done for that screen I want the data in the row to be updated too. I understand calling reloadData is not the right approach here.

Going back a step or two, how does the UITableView view know when it is returned to be the edit screen ? and which event do handle datasource / row updates?

I’m also going to want to add new row (in and add view) in a similar manner, which event do i use then ?

  • 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-17T06:42:14+00:00Added an answer on May 17, 2026 at 6:42 am

    You can keep track with -viewWillAppear:animated:. This works with any view controller. Reload your data in there. So the process is:

    • Edit your data
    • Save the new data in your model (where the table view is getting its data)
    • Pop the detail view controller
    • In the table view controller, have a viewWillAppear:animated: method where you reload your table (using reloadData)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So the other day, I asked this question about how to combine three complex
I asked this question the other day and found out I should use .delegate()
I asked a dumb question the other day ( dumb question ) about the
Someone asked me a question via e-mail about integer partitions the other day (as
The other day I asked a question about how to get a histogram of
I know that my question will be very similar to other ones already asked
I asked a question before about VerticalRulers , with this hint I added a
This is very similar to a question I asked the other day but my
This is very similar to a question I asked the other day but my
I talked to my instructor the other day and asked him this question. He

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.