Mastering SwiftUI Alerts: Simplifying Implementation with a Better Approach

Поділитися
Вставка
  • Опубліковано 5 тра 2024
  • Mastering SwiftUI Alerts: Simplifying Implementation with a Better Approach
    Mentoring 👉 rebeloper.com/mentoring
    Implementing SwiftUI Alerts can be challenging due to their tightly coupled nature with view presentation and state management. Often, developers find themselves wrestling with complexities arising from managing alert visibility states and coordinating them with user actions. Additionally, SwiftUI Alerts lack flexibility in customization and can result in verbose and cluttered code.
    This video unveils a superior approach to implementing alerts, offering a more streamlined and maintainable solution that abstracts away the intricacies of managing alert presentation and state, thus simplifying the code and enhancing the user experience.
    GitHub repo 👉 github.com/rebeloper/SwiftUIA...
    → PLAYLIST:
    Being an iOS Developer in 2024 👉 • Firebase Authenticatio...
    DO YOU WANT TO ME TO WORK ON YOUR PROJECT?
    HIRE ME → rebeloper.com/hire-us/
    TOOLS I RECOMMEND:
    → rebeloper.com/tools
    Resources: store.rebeloper.com/youtube-c...
    __________
    Get in touch:
    → support@rebeloper.com
    SUBSCRIBE to weekly tips & tutorials for building iOS apps!
    → ua-cam.com/users/rebeloper?su...
    GitHub: github.com/rebeloper/
    Hire me: rebeloper.com/hire-us/
    LinkedIn: / rebeloper
    My Blog: rebeloper.com/blog
    Follow me on Instagram: / rebeloper
    Twitter: / rebeloper
    ______
    #rebeloper
  • Наука та технологія

КОМЕНТАРІ • 5

  • @rebeloper
    @rebeloper  2 місяці тому +2

    Mastering SwiftUI Error Alerts: Fix Your App in Seconds! 👉 ua-cam.com/video/glg1koMSyLA/v-deo.html&ab_channel=Rebeloper-RebelDeveloper

  • @Vadian-i7y
    @Vadian-i7y Місяць тому

    Great package. Some minor flaw: fullScreenCover is not available in macOS, you might add a platform #if condition

    • @rebeloper
      @rebeloper  Місяць тому

      Good point. Added it to 1.0.2: github.com/rebeloper/SwiftUIAlerts/commit/41b5e3a67d420522c7075054811c40053e56d5d4
      Next check out In-App Purchases in SwiftUI: Full Tutorial! 👇
      ua-cam.com/video/Nxq_ildDObE/v-deo.html&ab_channel=Rebeloper-RebelDeveloper

  • @MrLowRight
    @MrLowRight 2 місяці тому

    This is wonderful. But it doesn't work with sheets. Is there an easy way to get this to work with sheets?

    • @rebeloper
      @rebeloper  Місяць тому

      Here it is :)
      SwiftUI Alerts Using Sheets: A More Efficient Implementation Method 👇
      ua-cam.com/video/_xod2ZVrUHk/v-deo.html&ab_channel=Rebeloper-RebelDeveloper