OperationQueue and Concurrency in Swift 5 (Xcode 12, Swift 2020) - iOS Development

  Рет қаралды 13,693

iOS Academy

iOS Academy

Күн бұрын

Пікірлер: 21
@professormeniscus
@professormeniscus 3 жыл бұрын
Really clear, concise and well structured explanation. Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks
@clementcardonnel3219
@clementcardonnel3219 3 жыл бұрын
Excellent video. Of all articles, blogs, documentation I could find. That's the one thing that made me get it. Thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks!
@AW-gj4ji
@AW-gj4ji 3 жыл бұрын
Would like to see you put it to use in a project
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Will do
@BABEENGINEER
@BABEENGINEER 3 жыл бұрын
@@iOSAcademy Please do this!!
@Денис-ж3ф5р
@Денис-ж3ф5р 3 жыл бұрын
what is the difference between dispatchQueue and operationQueue? My mentor could not answer the question.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Operation queue is built with dispatch under the hood
@Денис-ж3ф5р
@Денис-ж3ф5р 3 жыл бұрын
@@iOSAcademy Thanks, I it got from the video, It took me three rewatches :-)
@max500k
@max500k 2 жыл бұрын
Great video, but I think it may be a bit misleading to say that a queue is synonymous with a thread (mentioned at 3:15). A queue lines up tasks to be executed on a thread (which is an abstract context of execution).
@ЯрославГрицунь
@ЯрославГрицунь 4 жыл бұрын
max concurrent operation count is the same as semaphores in GCD if I understand correctly?
@ВалерийСкворцов-р2т
@ВалерийСкворцов-р2т 2 жыл бұрын
10: 30, Operation can be used from iOS 2, whereas GCD can be used from iOS 8 that arises a question. How can operation be GCD under the hood if operation is older, Thanks for your reply in advanced.
@rudolphhock1155
@rudolphhock1155 3 жыл бұрын
Isn't then the addDependency graph the opposite of declaring a variable weak, as it is bound to another operation ?
@followerOfJesus723
@followerOfJesus723 4 жыл бұрын
Yes!!!! Thank you sir!!!!!
@iOSAcademy
@iOSAcademy 4 жыл бұрын
Youre welcome
@biin8576
@biin8576 4 жыл бұрын
can you please add core data to your reminder/notes/todo apps? any of them.
@rudolphhock1155
@rudolphhock1155 3 жыл бұрын
I would be surprised if Apple didn't integrate this into GCD, did this come before GDC and it's more of a legacy approach ?
@TheBooban
@TheBooban 3 жыл бұрын
Hello recent comment guy. Do you know the diff between Operation and NSOperation? The apple documentation has both and are almost exactly the same. I guess Operation is just newer? Edit: never mind, saw the drop down now, NSOperation is Obj-c
@rudolphhock1155
@rudolphhock1155 3 жыл бұрын
@@TheBooban I believe the NS (Next Step) prefixed stuff is from Obj-C, which is what Swift was based on, and it's gradually being removed.
@TheBooban
@TheBooban 3 жыл бұрын
@@rudolphhock1155 yea, that I knew, but as you said a lot of stuff is left and thought this was too. Just didn't catch the obj-c tag in the Apple Docs this time. But thanks. And, as you point out, because of NSOperation, "Operation" isn't actually newer as per your original comment. I think it's just that if you don't need it, don't use Operation, just use GCD. You know, the exact tool for the job. That's my guess.
Threads and Grand Central Dispatch in Swift
22:14
Stewart Lynch
Рет қаралды 21 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 53 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 6 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 89 МЛН
Hashable & Equatable in Swift 5 (Xcode 11, 2020) - iOS
18:38
iOS Academy
Рет қаралды 13 М.
OperationQueue - BlockOperation in Swift  || iOS interview Questions
12:20
Swift for Beginners: Generics - 2020 (Xcode 11, iOS)
19:04
iOS Academy
Рет қаралды 10 М.
Concurrency and Grand Central Dispatch in iOS
12:03
Clarissa Calderon - Swift Bits
Рет қаралды 1,8 М.
DispatchWorkItem
12:15
AppleProgramming
Рет қаралды 2,4 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 53 МЛН