Hello App Developer, Amazing content as always but voice in this video is little bit low and difficult to hear.. if possible please increase volume, many thanks :)
used your tutorial var Index : int = 0 How do i access local var variable inside . i get this issue inside Task{ let task = await callMyFunction( Index) } Index += 1 this error i get kindly help out Reference to captured var 'Index' in concurrently-executing code
Thanks for going through the tutorial. If you want to use parameter inside Task, it has to be constant to avoid data race condition. So in your case create two function one which gives you index and mke the variable as let and second function should modify your index, instead of modifying directly here
Very nice tutorials, practical approach helps us to understand the concepts clearly. Nice efforts. I like your tutorials.
Glad it helped You
Hi @Nilesh I am big fan of you the you are explaining is fabulous thank you so much for making such a great videos.
❤❤❤
Thank you so much
Hi Nilesh, amazing content explained very elegantly. Keep up the good work.
Keep watching
DO you have dependacy injection video?
Very nice explanation. Thanks a lot!💐💐💐
Keep watching
Hello App Developer, Amazing content as always but voice in this video is little bit low and difficult to hear.. if possible please increase volume, many thanks :)
Ok next time
Good explanation 👍🏾👏🏼😊
Thanks for the video
Our pleasure!
used your tutorial
var Index : int = 0
How do i access local var variable inside . i get this issue inside
Task{
let task = await callMyFunction( Index)
}
Index += 1
this error i get kindly help out
Reference to captured var 'Index' in concurrently-executing code
Thanks for going through the tutorial. If you want to use parameter inside Task, it has to be constant to avoid data race condition. So in your case create two function one which gives you index and mke the variable as let and second function should modify your index, instead of modifying directly here