How to use Popover modifier in SwiftUI | Bootcamp #69

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 26

  • @elaidzhashchukin7268
    @elaidzhashchukin7268 Рік тому +8

    Hey Nick :) I wanted to write words of gratitude for a long time, today I’ll do it. You are the best teacher I know. I completed almost the entire course. Thank you very much for your work :)

  • @ditoledor
    @ditoledor 17 днів тому

    Amazing video Nick!

  • @GregT-gf9ny
    @GregT-gf9ny Рік тому

    Was literally about to implement a custom popover for a project today. Thanks for showing this!

  • @jerripot
    @jerripot Рік тому

    Enjoyed this, looks like an awesome development, hope you can create some more examples in time.

  • @knowledgeispower4953
    @knowledgeispower4953 Рік тому +1

    Thank U Nick Bro.....💐

  • @loudibird
    @loudibird Рік тому +1

    I love you man you’re the best

  • @offthedeepend762
    @offthedeepend762 7 місяців тому +1

    69 videos in and finally we get a good call to action

  • @vipinsaini00
    @vipinsaini00 4 місяці тому

    great work 👍 help me lot 💚

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

    Apple should have put presentationCompactAdaptation inside the .popover modifier as a completion. Not sure, why they made it a modifier itself when it can be used only with popover.

  • @FabricioMTL
    @FabricioMTL Рік тому

    Nick you are the best

  • @TearsOfLa
    @TearsOfLa 9 місяців тому

    Bit late to the show here, but in the original popover video, there was issues showing multiple different sheets in the same view. Does that still apply to popovers with the .sheet presentation? For example could I have a popover sheet with a red background and one with a blue background on two different buttons? Or if not, does logic apply to the new popovers, so I could change what is in the one popover when I click the button depending on other variables?

  • @chezchezchezchez
    @chezchezchezchez Рік тому

    Wow, I just finished the video. That ending was fantastic. How you make that menu with spacing. Looks great. Keep up the good work.

  • @hengyizhang4838
    @hengyizhang4838 5 місяців тому

    List in popover will not rendered without frame

  • @chezchezchezchez
    @chezchezchezchez Рік тому +1

    Awesome, here’s a question…
    Is there anything in SwiftUI equivalent to toast? Do you know what toast is?
    It’s used in web frameworks.
    It’s a little message that pops up, and disappears within a few seconds, all on its own, with no interaction needed.

    • @anianii
      @anianii Рік тому +1

      No. iOS doesn't really have something like that, but there are some third party packages like AlertToast.

  • @30guarino
    @30guarino Рік тому

    So I wonder if we’re able to use this instead of pickers and context menus

    • @SwiftfulThinking
      @SwiftfulThinking  Рік тому

      To me this feels like the SwiftUI team is putting out this new API and seeing how it feels. Either we’ll see more APIs converge to this setup (like we see with Sheet and FullScreenCover already) or not. I think iOS 18 updates will be telling 😅

    • @30guarino
      @30guarino Рік тому

      @@SwiftfulThinking Yup we wil see!

  • @vazzhh
    @vazzhh Рік тому

    im confusing, my .popover still the same like .sheet. i dont know why

    • @vazzhh
      @vazzhh Рік тому +1

      Ok. the problem is the "Auto complete" from Xcode. if you use this autocomplete this code the "same" but not you need to write exactly like nick
      this is the auto completed that is not work
      .popover(isPresented: $showPopover, content: {
      Text("Hello Popover")
      .presentationCompactAdaptation(.popover)
      })
      that difference is only "content: { }"

  • @Doggy_Styles_Coding
    @Doggy_Styles_Coding Рік тому

    gonna get swifty :D sorry needed to drop a rick and morty reference ^^

  • @lakeumong6479
    @lakeumong6479 Рік тому

    Hello can you please answer this,
    I can see that some of your videos are 2 years old and you have many playlist with similar names and the videos and and new are mixed up
    As a beginner which videos do you suggest i follow which are not outdated
    Will really appreciate a response

    • @SwiftfulThinking
      @SwiftfulThinking  Рік тому

      I suggest watching the entire series, they are 2 years old but are still relevant

    • @lakeumong6479
      @lakeumong6479 Рік тому

      @@SwiftfulThinking Thank you so much for your response
      If these videos are all still relevant, Its definitely worth watching all

    • @SwiftfulThinking
      @SwiftfulThinking  Рік тому

      @@lakeumong6479if you have any other similar questions, feel free to ask someone in our Discord. There’s over 2k other devs who have completed the course already and can help you along the way: discord.gg/SdFBzM2WbJ