Stop Using MVVM in SwiftUI! Try THIS Instead 🚀 (Game-Changing Architecture)

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025
  • Stop Using MVVM in SwiftUI! Try THIS Instead 🚀 (Game-Changing Architecture)
    Mentoring 👉 rebeloper.com/...
    MVVM (Model-View-ViewModel) is often hailed as the go-to architecture in SwiftUI development, thanks to its clean separation of concerns and reactive data-binding with SwiftUI's state management. However, it can become overly complex, leading to bloated ViewModels and unclear boundaries. That’s why in this video, I’ll introduce you to MVSU (Model-View-Service-Utility), a simplified yet powerful alternative tailored for SwiftUI.
    You’ll get a step-by-step example of how to implement MVSU, showing you exactly what to use and how it streamlines your app architecture while keeping your code modular and maintainable. Don’t miss it!
    → PLAYLIST:
    SwiftUI in iOS18 👉 • Unlock SwiftUI's Hidde...
    DO YOU WANT TO ME TO WORK ON YOUR PROJECT?
    HIRE ME → rebeloper.com/...
    TOOLS I RECOMMEND:
    → rebeloper.com/...
    Resources: store.rebelope...
    __________
    Get in touch:
    → support@rebeloper.com
    SUBSCRIBE to weekly tips & tutorials for building iOS apps!
    → www.youtube.co....
    GitHub: github.com/reb...
    Hire me: rebeloper.com/...
    LinkedIn: / rebeloper
    My Blog: rebeloper.com/...
    Follow me on Instagram: / rebeloper
    Twitter: / rebeloper
    ______
    #rebeloper

Комментарии • 13

  • @rebeloper
    @rebeloper  Месяц назад +2

    STOP Using Conditional Modifiers in SwiftUI! Here's What to Do Instead 🚀 ruclips.net/video/mVChmuAaQxo/видео.html&ab_channel=Rebeloper-RebelDeveloper

  • @NerdyYawdie
    @NerdyYawdie Месяц назад +3

    Great Vid

  • @rodionov_av
    @rodionov_av Месяц назад +11

    The same mvvm, but use another words.

    • @davidonwp
      @davidonwp Месяц назад +2

      Indeed!

    • @rebeloper
      @rebeloper  Месяц назад +1

      Really?

    • @BreakingBarriers2DIY
      @BreakingBarriers2DIY 10 дней назад

      @@rebeloper I found the key to the difference was the fact that MVVM doesn't let you share anything...this is giving me the opportunity to move forward the "Service" concept. I'm not yet sure about the utility thing...but for now I will use the service to manage the database interactions too.

  • @echolumaque2130
    @echolumaque2130 Месяц назад +1

    That's the same as MVVM! Honestly, the "U" or utility is just very redundant and you add unnecessary codes, making the codebase less maintainable. Also one more thing, you are using static, which are bad for memory management as they don't get cleaned up, which are bad for ARC.

    • @rebeloper
      @rebeloper  Месяц назад

      Thanks for the feedback

  • @w0mblemania
    @w0mblemania Месяц назад +2

    ruclips.net/video/kw6KZqnXejQ/видео.html

  • @АртемВласенко-щ5п
    @АртемВласенко-щ5п Месяц назад +1

    Where is game changer? What the difference between this and vm?

    • @echolumaque2130
      @echolumaque2130 Месяц назад +1

      Honestly none, he just makes the code more polluted making it less maintainable.