On 29 Nov 2010, at 11:27, G S wrote:

> 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.

Try the notifications system. 

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Notifications/Introduction/introNotifications.html%23//apple_ref/doc/uid/10000043i

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to