Closures in Swift Hindi tutorial | Swift for beginners | Swift Tutorial
Вставка
- Опубліковано 21 жов 2024
- In this video, you will get familiar with what are closures in swift and when and how to use them
I am using Xcode version 10.2.1 for this video.
if you like this video, please give a thumbs up, like and subscribe to my channel and I will continue to create more videos like these.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
🔗Click on the link to subscribe: www.youtube.co...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
############################################
Connect with me on social media
📧: codecat15@gmail.com
#️⃣: / codecat15
Facebook: / code.cat.792
Github: github.com/cod...
###########################################
Very good video. For beginners it's great. Love from Kolkata bro.
Thanks a ton 😊
underrated channel
Damn cool, good taking into concepts. Seedha code pe bina confusion k. Mujhae dikhat hoti thi closures ko leakae. Ab nahi. Each and every moment is well taken.keep going, helping me a lot in knowing concepts better way.
I've purchased Angelina ios tutorial, over that as a desi guy desi approach makes me feel better. Kudos
Watch the part 2 of this video, vo aur bhi accha hai @vilas aur usmai maine kuch aur tips share kari hai. Do feel free to ask questions on this topic and do subscribe and share with your iOS group
@@CodeCat15 definitely am on it, indeed all of you videos😇
Thank you so much for such kind words, am glad my videos were helpful
This is so nice for beginners.
Am glad you liked it, do ask questions on this topic if any and do subscribe and share this with your iOS group as well @Alok thank you
Superb explanation brother.
really clear explanation
Hello Harsha, welcome to the channel. Do watch the second part of closures for more detailed explanation. Hope that helps
Link: ua-cam.com/video/ZP4pEHtndFE/v-deo.html
very nice.. ❤️ from 🇵🇰
Tnks you so much!🙂
Sir please make video on escaping vs non escaping closures and autoclosures
In the latest video of api parsing am giving a glimpse of escaping do check that out. I had that on my list Raman I will surely try my best to release it asap 👍
thanks...
Ravi please share a video on weak self and unowned closures.
great sir
Thank you :) do watch part 2 of this video
Very useful
Glad to hear that
Main aim of closures is capturing , please make a new video on capturing
Correct and i missed it out in both the parts of closure, i will make it up by creating a video on that very soon
Thanks a lot sir ❤️
Thank you 😊❤️
welcome buddy, and do let me know if you have any questions on this topic will be happy to help
interview questions - closure capturing
Ek detailed video closure capturing pe karte hai 👍
Can we develop full iOS app on swift playground??
Hello Vipin welcome to the channel, we cannot develop a full app using playground, because we need to test the app and deploy it and for that we would need to use Xcode and create an iOS app.
closer ko function ka sakty hain ya nahi?
Yes, vo ek type k function he hai. Closure ka maine second part bhi banaya hai to usse bhi aap check kar le
Link: ua-cam.com/video/ZP4pEHtndFE/v-deo.html
@@CodeCat15 aksar interview Question atta ha k Closure ko ham function k sakty hain ya nahi (interview point of view sy batain)
and thank ye video main nay view ki hoi ha r app k lecture bhi dakta hon main
nice video
Thank you @Amit feel free to ask questions on this if you have any and do share the channel with your iOS group
why only in heavy weight we use it ?
Why to use closure?
Difference b/t closure n function
You should use closure to perform tasks which take time specially API calls or some delegate events, as you will progress from beginners to advance playlist in this channel you will see that for API parsing and for some Core data CRUD events we are using closures to do an operation and then return the output of those operations. The second common use you will see that all higher order functions in swift like map, sort, flat map use closure to do a task and return the output.
@@CodeCat15 why cnat wew use function there in api parsing and crud events and if we can then why we use closures
@@divyanshugupta1515 the API operation performs in a different thread and does not wait on the main thread and escaping closures are the only way to get value back from such operations
For database operations there’s no need to use closures a simple function would suffice but it depends on the requirements as well like if you are performing some background database task then maybe you want to use escaping closure
There’s a example in part 2 of the video where I have covered more grounds where n how closures can use and database operation is one of them do check that video
@@CodeCat15 thank you so much 🙏
👏
👍