How to update all views when underlying data changes?
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