Multithreading & Async in iOS | A Basic Introduction

  Переглядів 4,705

Sam Meech-Ward

Sam Meech-Ward

3 роки тому

Learn how to use dispatch queues to perform tasks on a background queue in iOS with Swift.
🔗Code:
github.com/Sam-Meech-Ward/iOS...
🔗Entire iOS Playlist
• iOS with UIKit
🔗Moar Links
My Website: www.sammeechward.com
Instagram: / meech_ward
Github: github.com/orgs/Sam-Meech-Ward
Ray Wenderlich Grand Central Dispatch Tutorial for Swift 4: www.raywenderlich.com/5370-gr...
Intro to networking in iOS: • Networking in iOS with...

КОМЕНТАРІ: 9
@johncarson3333
@johncarson3333 3 роки тому
Dude I was lost in the sauce with dispatch queue and that was a super legit explanation thank you
@OlegKirsanov
@OlegKirsanov 2 роки тому
Понятное объяснение. Спасибо!
@kevinbahojb
@kevinbahojb Рік тому
Thank you for your detailed and clear explanation, it was very helpful and understandable.
@SamMeechWard
@SamMeechWard Рік тому
You are welcome 🤗
@dashadavid
@dashadavid 3 роки тому
Hello Sam, great video! I understand more on DispatchQueue now thanks! I do have a question for you about this subject. I was wondering if I may ask you for some help please? thanks again for making this video and hope to hear from you soon
@cios3917
@cios3917 3 роки тому
What is the difference between sync vs async?
@SamMeechWard
@SamMeechWard 3 роки тому
One is synchronous and the other is asynchronous 🤣
@SamMeechWard
@SamMeechWard 3 роки тому
print("a") backgroundQueue.async { print("b") } print("c") The short answer is: the order that these will be printed out is a, c, b. If you change async to sync, the order will be a, b, c. Even though print("b") happens on a different queue, the main queue will still wait for it to complete if we use a sync block. sync is not usually desirable.
@tenminutetokyo2643
@tenminutetokyo2643 2 роки тому
That's a weird place for a fireplace.
Networking in iOS with URLSession | JSON and Image data
22:46
Sam Meech-Ward
Переглядів 10 тис.
TDD and Unit Testing in iOS | Part 1 Stateless Objects
28:27
Sam Meech-Ward
Переглядів 8 тис.
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Переглядів 4,7 млн
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Переглядів 20 тис.
DispatchQueues: Serial, Concurrent, Async, & Sync - Overview
6:02
iOS Academy
Переглядів 23 тис.
When to Semaphore vs Dispatch Group! Careful Multithreaded Shared Resource
11:11
Lets Build That App
Переглядів 45 тис.
Downloading & Caching Images in iOS with Swift
27:49
Sam Meech-Ward
Переглядів 10 тис.
Auto Layout Constraints in iOS
28:22
Sam Meech-Ward
Переглядів 4,7 тис.
Main Thread, Sync vs Async and Deadlocks in Swift
9:49
iCode
Переглядів 12 тис.
DOROFEEVA і Міша Лебіга | Шоу 20:23 #32
45:37
Женя Янович
Переглядів 193 тис.
Что будет с кроссовком?
0:35
Аришнев
Переглядів 2 млн
The World's Fastest Cleaners
0:35
MrBeast
Переглядів 92 млн
У кого лучше?😂
0:18
Анна Немченко
Переглядів 2,1 млн