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

The Archive Base Latest Questions

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

I am fairly new to iPhone/ObjC programming, though I have several years of experience

  • 0

I am fairly new to iPhone/ObjC programming, though I have several years of experience in coding, particularly DB development.

The project I chose as my debut is a little app meant to support playing a board game, where one is required to make notes of the playing pieces status. In short, I want to replace pen and paper with this app.

So far I have set up the main window with a TabBar (4 tabs, because of 4 players), each of which is connected to a ViewController (“FirstViewC”, “SeconcViewC” etc.) which again sets up a NavController. The NavController then has a TableViewController as first subview, and when a table item is selected, a DetailViewController is added as a subview to the NavController (in didSelectRowAtIndexPath).

At this point in time, I have an object (“PlayingPiece”) with some properties, which can be modified in the DetailView.

Now (eventually) here is my problem.

Coming back from the DetailView (by the OS provided “Back” button in the NavBar), the DetailView is popped from the subview stack (automatically), and the TableView is visible again. But for some reason, the changes in the PlayingPiece values are not reflected. When I scroll the cell in question out of the display, then bring it back, since there is a new cell setup invoked, everything shows up as desired.

Obviously, I need to trigger some sort of “refresh” of my displayed table cells (or all of them, we are talking about 10 table items max, so no performance issues here). I would like to call sth like [self.tableView reloadData], but neither “viewWillAppear” nor “viewDidAppear” are called in the TableViewController.

I don’t know if there is sth wrong with my whole “Controller Hierarchy” or if I am just missing out some sort of delegate that I forgot to set. I promise, I scanned several threads in forums before, but I could not find any discussion helping me further with this issue.

If there is anybody with a suggestion on that, any help is greatly appreciated – it’s driving me nuts 😉 I am using the latest SDK.

Marcus

  • 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-16T22:46:20+00:00Added an answer on May 16, 2026 at 10:46 pm

    I eventually figured (with some external help) that the structure of my controller setup was somewhat messed up.

    After throwing out one “layer”, viewWillAppear worked as expected.

    Thank you for your suggestions anyway – I appreciated your support very much!

    Marcus

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

Sidebar

Related Questions

I am fairly new to iphone development and programming in general and am wondering
I am fairly new to iPhone development. Right now, I am working on an
I'm fairly new to iPhone programming and am trying to implement a double-component PickerView.
I am fairly new to a objective-c or in whole mac/iphone development. My question
Fairly new to socket programming, but I've been assigned with a whopper of project.
Being fairly new to iPhone / Objective-C development, I wanted to ask this question
I'm fairly new to iPhone programming, and I'm making a fairly basic app. Anyway,
I'm fairly new to xcode and iPhone development and I'm wondering if it's possible
I'm fairly new to Objective-C and iPhone programming so I apologize if this is
I am fairly new to azure, wcf, asp.net and json. I have experience with

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.