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.
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?
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! 😋
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
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."
...However, in some cases the system could sent it to another thread.
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.
By the way, I also talked about Actors in this video ua-cam.com/video/8jvtHCXJ4Ow/v-deo.html 😃
@@swiftandtips All good - I could have written my reply better too. ... but to ensure only one thread accesses the actor at one time. :-)
Thanks for going over the old way and the new async await way. Super helpful for me.
brilliante, magnifico! excellent explanation of the topic !!!! you are a genius
Thank you 🙏🙏
Another excellent video that puts a new concept in context of current options which I find very helpful. 👍
Thank you Gonzalo 😄🙌🏻
Thank you so much for the great demo Pitt 🤟🏻
Thank you @Joe 😃!
Great video! I really liked the use of three difference approaches to the problem. async/wait looks much clean than Combine.
Thank you @Rod! And I agree with you, async/await is much cleaner 👌
hey man, great content keep going!
Thank you @Leonardo! 😄
Should we cancel async await functions if we push another screen etc?
Great question, if it’s inside a task modifier then the operation will be cancelled.
Awesome 🔥
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?
Great question Vitor, I would suggest to take a look to this post: www.hackingwithswift.com/quick-start/concurrency/how-to-cancel-a-task
Did you ever use "debounce" or "semaphore" in your network calls. ??
Some time ago 👍
Excellent video. What would be your guess as to when this feature will be available for production?
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! 😋
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
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."
Hi Jemmy, I would need more context to guide you on this. What have you found on google?
Hello sir, please make next tutorial on Method swizzling in swift
Hi @Vaibhav, I will investigate about it. Thank you for the idea! 😁
Swift 15.5 and let us introduce Channels 😂