How senior iOS devs eliminate nested closures (arrow anti-pattern) in Swift | Live Dev Mentoring

Опубликовано: 13 Октябрь 2022
на канале: Essential Developer
15,842
126

Have you ever seen nested Swift closures shaped like an arrowhead (aka Pyramid of Doom)? 😱

Code shaped as an arrowhead is an anti-pattern caused by many nested structures such as nested conditions, switch statements, and even closures.

So watch this mentoring session now to learn how to eliminate nested closures (with & without Swift's async/await) to make code easier to read and maintain.

Get the source code at https://github.com/nativeiosdevelopme...

Join the iOS Lead Essentials program https://iosleadessentials.com

Like and share this content with someone that you believe will benefit from it.

---

Subscribe to our channel ↴
https://www.youtube.com/essentialdeve...

You can also find us on ↴
Twitter ☛   / essentialdevcom  
Facebook ☛   / essentialdeveloper  
Instagram ☛   / essentialdeveloper  
LinkedIn ☛   / essentialdeveloper  
Telegram ☛ https://t.me/essentialdeveloper

Caio ↴
Twitter ☛   / caiozullo  
LinkedIn ☛   / caiozullo  

Mike ↴
Twitter ☛   / mrmichael  
LinkedIn ☛   / mapostolakis  

Visit our website ↴
https://essentialdeveloper.com

How to Build iOS Apps with Swift, TDD & Clean Architecture series ↴
https://www.essentialdeveloper.com/pr...

Caio & Mike's Book Suggestions ↴
https://www.essentialdeveloper.com/bo...