🔴 Bet you didn't know about *THIS* Swift Feature | Writing Cleaner Code

Поділитися
Вставка
  • Опубліковано 29 бер 2024
  • How to use defer to write cleaner and more concise code
    🔴 Become a member at AppStuff:
    www.stephancodes.com/plans-pr...
    🔴 FREE Tinder SwiftUI Course
    • 🔴 Let's Build Tinder w...
    🔴 FREE TikTok SwiftUI Course
    • 🔴 NEW SwiftUI TikTok C...
    🖥️ ONLINE COURSES & APPS
    👉 Pro Courses:
    www.stephancodes.com/videos
  • Наука та технологія

КОМЕНТАРІ • 8

  • @notsolean4903
    @notsolean4903 3 місяці тому +1

    Hey Stephan, I am pro member of your courses and it has really help me improved my app architecture. Can you please create an in depth tutorial on Combine as it was asked in my recent interview and I felt underprepared.

  • @ParthKanani555
    @ParthKanani555 3 місяці тому

    Amazing video Stephen 🚀

  • @danielcrompton7818
    @danielcrompton7818 3 місяці тому

    I thought defer was something to do with asynchronous Swift 😂 Amazing video, super helpful! Thanks for making this crystal clear

  • @imam_robani
    @imam_robani 3 місяці тому

    this new for me, thanks

  • @boyonetouch7407
    @boyonetouch7407 3 місяці тому

    I agree in case need to do some exact last execute task It's safer more than coding normal.

  • @iLoveAppl3947
    @iLoveAppl3947 3 місяці тому +1

    defer behaves like a skip for now button

  • @gjermundification
    @gjermundification 3 місяці тому

    09:30 Why on earth don't you do the defer{} as the latter part of the function? I see defer as a return from the function itself; yet with code, at the opposite side of init() OK, got it: 13:22

  • @dxulet
    @dxulet 3 місяці тому

    i knew 😎