Swift Multi-Threading

person shubham sharmafolder_openiOS, MAC Os, Swiftlocal_offer, , access_time April 6, 2019

1- The Main Queue

2- The Global Queue:

3- Custom Queues:

 highest priority  1- userInteractive : Work is virtually instantaneous. Similar to main thread.
2- userInitiated : Work is nearly instantaneous, such as a few seconds or less.
3- default: don’t use it usually , the type will be inferred by the system
4- utility: Work takes a few seconds to a few minutes.
5- background: Work takes significant time, such as minutes or hours.
Update all UI  Do not update any UI
warningComments are closed.