• 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
How to update all views when underlying data changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to update all views when underlying data changes?


  • Subject: How to update all views when underlying data changes?
  • From: G S <email@hidden>
  • Date: Mon, 29 Nov 2010 03:27:08 -0800

Hi all.

I'm writing an iPhone app that interacts with a database over the Web
using XML, and PHP on the server side.

Obviously, delays in downloading data are frequent, so I'm using Grand
Central Dispatch to do a bunch of it asynchronously.  This brings up a
basic question: How do I notify all concerned views that the
underlying data store has changed?  I could create some kind of
multi-delegate or "subscriber" system where view controllers join a
list to be notified.  Is that how people are doing it, or is there
some Cocoa mechanism that I should be using?

Thanks for any insight.
_______________________________________________

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: How to update all views when underlying data changes?
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: How to encrypt a String to a SHA-1 Encrypted in iPhone
  • Next by Date: Re: How to update all views when underlying data changes?
  • Previous by thread: NSXMLParser chokes on DTD declaration
  • Next by thread: Re: How to update all views when underlying data changes?
  • Index(es):
    • Date
    • Thread