🌐 SwiftUI Navigation & WebView - Second brain app with SwiftUI, Firebase, and Gemini - Ep 2

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

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

  • @PeterFriese
    @PeterFriese  8 дней назад

    Thanks for tuning in!
    Don't forget to tune in again next week on November 5th (20:00 CEST / 11:00 PST / 14:00 EST / 19:00 UTC): ruclips.net/user/liveRXAV7hBW7qY
    The "Get to know Cloud Firestore" play list I was talking about at the end of the stream is here: ruclips.net/p/PLl-K7zZEsYLluG5MCVEzXAQ7ACZBCuZgZ&si=37RRmWj0OzSdDPlk

  • @clemensauer8597
    @clemensauer8597 8 дней назад

    also:
    you could write a custom HTTP handler which returns the stored data, that's pretty simple, and just use a generated url to point to the internal data.

    • @PeterFriese
      @PeterFriese  7 дней назад

      As we will be storing the data in Firestore, the HTML source will be stored in a field on the artifact documents. This is something I am going to build in the next episode.

  • @clemensauer8597
    @clemensauer8597 8 дней назад +3

    уоur navigationLink view modifier won't work with showing a chevron, ... there won't be a link then.
    the else branch should be something like
    ```
    NavigationLink(value: value) {
    self
    }
    ```

    • @PeterFriese
      @PeterFriese  8 дней назад

      Yep - that's right. Thinking while streaming is hard 🙂

  • @DavidNitzscheBell
    @DavidNitzscheBell 8 часов назад

    Why did you choose to hide the built-in chevron instead of just removing the line you added to include the chevron as a system image?

    • @PeterFriese
      @PeterFriese  5 часов назад

      Multiple reasons: to show how to do this. Often times, you *want* to hide the chevron (for example, when you have a full-bleed image in your row). Also, I wanted to re-create the optic of Apple’s Mail app.