Multithreading & Async in iOS | A Basic Introduction

  Рет қаралды 5,172

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
@OlegK-h6x
@OlegK-h6x 2 жыл бұрын
Понятное объяснение. Спасибо!
@kevinbahojb
@kevinbahojb 2 жыл бұрын
Thank you for your detailed and clear explanation, it was very helpful and understandable.
@SamMeechWard
@SamMeechWard 2 жыл бұрын
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 М.
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Рет қаралды 21 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 56 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,6 МЛН
TDD and Unit Testing in iOS | Part 1 Stateless Objects
28:27
Sam Meech-Ward
Рет қаралды 8 М.
Downloading & Caching Images in iOS with Swift
27:49
Sam Meech-Ward
Рет қаралды 11 М.
iOS Concurrency and Threading - iOS Interview Question - Swift
7:50
Auto Layout Constraints in iOS
28:22
Sam Meech-Ward
Рет қаралды 6 М.
DispatchQueues: Serial, Concurrent, Async, & Sync - Overview
6:02
When to Semaphore vs Dispatch Group! Careful Multithreaded Shared Resource
11:11
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 96 М.
All creatures are from God #jesus #jesuschrist #jesuslovesyou
0:19
Jesus By Your Side
Рет қаралды 59 МЛН
Смотреть до конца!
0:19
Привет, Я Ника!
Рет қаралды 2,3 МЛН
AAAAH
0:10
F L U S C O M A N I A
Рет қаралды 14 МЛН