• 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
Re: [OT] Sync vs ASync Server Comms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Sync vs ASync Server Comms


  • Subject: Re: [OT] Sync vs ASync Server Comms
  • From: Ten Horses | Diederik Meijer <email@hidden>
  • Date: Fri, 22 Feb 2013 11:29:36 +0100
  • Organization: Ten Horses


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




Links:
------
_______________________________________________

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

References: 
 >[OT] Sync vs ASync Server Comms (From: Dave <email@hidden>)

  • Prev by Date: Re: Problem with NSPersistentStore
  • Next by Date: Re: IOS iPad PopOver Nav bar color
  • Previous by thread: Re: [OT] Sync vs ASync Server Comms
  • Next by thread: iOS books, etc for experienced OSX programmers
  • Index(es):
    • Date
    • Thread