...However, in some cases the system could sent it to another thread.
@swiftandtips3 жыл бұрын
Hi Mark, you are right, actors protect your data against data races by multiple threads. What I meant is that with actos you can have a better control over what is getting access to your resource, but your point is absolutely valid. Sorry if that wasn’t clear enough.
@swiftandtips3 жыл бұрын
By the way, I also talked about Actors in this video kzbin.info/www/bejne/bpvZpXt5ja9nhdk 😃
@markph02043 жыл бұрын
@@swiftandtips All good - I could have written my reply better too. ... but to ensure only one thread accesses the actor at one time. :-)
@ColeDano3 жыл бұрын
Thanks for going over the old way and the new async await way. Super helpful for me.
@rodspears3 жыл бұрын
Great video! I really liked the use of three difference approaches to the problem. async/wait looks much clean than Combine.
@swiftandtips3 жыл бұрын
Thank you @Rod! And I agree with you, async/await is much cleaner 👌
@gacastro3 жыл бұрын
Another excellent video that puts a new concept in context of current options which I find very helpful. 👍
@swiftandtips3 жыл бұрын
Thank you Gonzalo 😄🙌🏻
@気にしない-o8q Жыл бұрын
brilliante, magnifico! excellent explanation of the topic !!!! you are a genius
@swiftandtips Жыл бұрын
Thank you 🙏🙏
@Leopugpiano3 жыл бұрын
hey man, great content keep going!
@swiftandtips3 жыл бұрын
Thank you @Leonardo! 😄
@rungxanh29013 жыл бұрын
Thank you so much for the great demo Pitt 🤟🏻
@swiftandtips3 жыл бұрын
Thank you @Joe 😃!
@indomitabletr1834 Жыл бұрын
Should we cancel async await functions if we push another screen etc?
@swiftandtips Жыл бұрын
Great question, if it’s inside a task modifier then the operation will be cancelled.
@venusajja70383 ай бұрын
In my code i am displaying the message on tableView in ios swift uikit using actor, the table view delegate methods will call synchronously but the data from actor isolated property i am getting using Task method with in that tableview delegates synchronous execution, now the problem is the tableview delegates method synchronous execution is not waiting for the Task method to wait, can any one suggest on this please
@VitorFerrazVarela Жыл бұрын
This is a fantastic video, but I have one question. What would occur if I made an asynchronous request that took a while to receive a response, and in the meantime, I navigated back to the previous screen and wanted to cancel the unfinished request? How could I manage that situation?
@swiftandtips Жыл бұрын
Great question Vitor, I would suggest to take a look to this post: www.hackingwithswift.com/quick-start/concurrency/how-to-cancel-a-task
@robmontesinos3 жыл бұрын
Excellent video. What would be your guess as to when this feature will be available for production?
@swiftandtips3 жыл бұрын
Hi @Roberto, once “iPhone 13” is announced, iOS 15 will be released along with Xcode 13 and there is when officially we can start using it for production. Normally this happens at most early Octubre. Thank you for your support! 😋
@roman32492 жыл бұрын
Awesome 🔥
@abdulwahabkhan4316 Жыл бұрын
Did you ever use "debounce" or "semaphore" in your network calls. ??
@swiftandtips Жыл бұрын
Some time ago 👍
@jemmytech5474 Жыл бұрын
great tutorial. Keep it up. can you help me to create a sandBox tester account ? I am getting an error of "This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID."
@swiftandtips Жыл бұрын
Hi Jemmy, I would need more context to guide you on this. What have you found on google?
@vaibhavshiledar3 жыл бұрын
Hello sir, please make next tutorial on Method swizzling in swift
@swiftandtips3 жыл бұрын
Hi @Vaibhav, I will investigate about it. Thank you for the idea! 😁