On iOS sync will freeze your user interface for the duration of the network call, because it is done on the main thread, async is done in the background and keeps the interface responsive, you can then update your data when done
Dave schreef op 2013-02-22 11:13: > Hi All, > > I was reading an article about Server/Client communications using a > Rest service and the author seemed to have a downer on using the Sync > (as opposed to ASync) methods of making a request and receiving a > reply. Also I've noticed it being generally discouraged in quite a > few other places when I was searching for 3rd Party Network > Libraries. However, I can't find any reason behind it? Does anyone > have any idea why ASync transactions are better than Sync > transactions? Or is it just Sync'ism? lol > > Have a Good Weekend! > > Thanks > Dave > > _______________________________________________ > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/diederik%40tenhorses.com [1] > > This email sent to diede...@tenhorses.com Links: ------ [1] https://lists.apple.com/mailman/options/cocoa-dev/diederik%40tenhorses.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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com