Better Swift Closures Explained – Swift Tips (2023) – iOS



In this video, we’ll dive into the world of closures in Swift and learn how to use key paths to make our code more readable and efficient. Key paths are a powerful feature in Swift that allow us to access properties of objects in a concise and readable manner. Whether you’re a beginner or an experienced Swift developer, this video will provide you with a deeper understanding of key paths and how they can be used in closures. We’ll go through several examples of key paths in action, so you can see how they can be used to simplify your code. So, sit back, grab a cup of coffee, and join us as we explore the magic of key paths in Swift closures!

💻 Source Code:
🎥 Subscribe for more:
😎 Like my teaching style? Check out some of my most popular courses!
👉🏼 Connect (personal LinkedIn)
🚀 Follow on LinkedIn

** Popular Series
Building Instagram:
Building TikTok:
SwiftUI for Beginners:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:

#swift #closures #iOSDeveloper

Watch more new videos about iOS Academy | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
14 Comments
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận
iOS Academy
indomitableTR

What if we use 'reduse', how can we handle this approach. Also, isn't it same behavior like $ sign ?

Eric

Would love to learn more about key paths and other uses, great video!

Ronnie Vega

Didn't know these functions took keypaths. That's really great, thanks.

Ryan Kanno

Super cool! Thank you!

David G

I've been going insane lately and with your video I've finally have ……closure! lol

Davit Natenadze

Bitchin )) ❤‍🔥🤘

Anthony Warner

this is something that a beginner dev will struggle with for months and years and not know there is a solution to the thing that their intuition tells them they should do.

Martin Q

brilliant!
💡💡💡💡💡💡💡

Murman Mamardashvili

Thanks Mr. Siddiqui, for discussing this useful topic. Does this mean that KeyPaths by themselves are closures behind the scenes?

Victor Rîurean

👍👍👍

awakeFromNib

Thanks for the closures. They are still difficult for me.

Go Fudge Yourselves

Is rick and morty series over?

Kamil Suleymanov

Very useful!