• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhone CoreData TableView not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone CoreData TableView not updating


  • Subject: iPhone CoreData TableView not updating
  • From: Arnold Nefkens <email@hidden>
  • Date: Sat, 3 Apr 2010 06:08:13 +0200

Hello List,

I'm a newbie on iPhone Programming, so please bear with me.

I did the first 7 chapters of "More iPhone 3 Development, tackling iPhone SDK3" from Apress regarding the use of CoreData. In these 7 chapters a lot is explained and finally a series of classes and categories are being build that one can use as a Generic Controller for editing data stored in CoreData.

So I bult a new application where I inserted these classes, and created a new viewController for my specific needs. Almost everything works, except that the tableView is not updated when I create a new item for in the DB, The item is however created, but only visible if I quit the App and start it again. Apparently something is not right.

I double checked the 4 NSFetechedResult delegates, but it just does not work. I tried to insert [self.tableView reloadData] on a number of places, but to no avail.

Can someone of you check my ViewController code? And point me in the right direction where I'm missing the ball?

I'll send you the code off-list

Your help and effort is much appreciated.

Kind regards,

Arnold Nefkens


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iPhone CoreData TableView not updating (solved)
      • From: Arnold Nefkens <email@hidden>
  • Prev by Date: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by Date: Invalidated managed objects
  • Previous by thread: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by thread: Re: iPhone CoreData TableView not updating (solved)
  • Index(es):
    • Date
    • Thread