SwiftUI Firebase Chat 12: Fetch Messages Documents with Snapshot Listener

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

КОМЕНТАРІ • 17

  • @javidanibrahimov314
    @javidanibrahimov314 3 роки тому +2

    I started learning IOS development by watching your videos. Thank You for such quality, inspirational and informational videos. I need more sample text to test the textView

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

    Thank you so much for sharing this skill with us! I am currently working on this project on your website as step 12. and the code is currently writing to firestore and storing but the message that is typed into the description box is not visually being presented in the UI when I select a user and and type a message to be sent. Any guidance is greatly appreciated. I am at timestamp 16:21 currently and can write to and store message in firebase currently.

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

    hey bro! Very nice and great tutorial series! One question: In preview my @-key dont work. It gives me a strange other sign ... so i cannot log in in preview :D you have an idea why this is happening? :)

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

    Hey Brian. Love your vids. I used to hate Swift but now I find it pretty cool and the coding seems more elegant than Javascript.
    For the challenge part, maybe cut the video right there but pls still provide the solution on the next video. Thanks. U tha man

  • @guleranaa6060
    @guleranaa6060 2 роки тому

    I nodded same as like u do but when I type msg on simulator after running the app it's not sending the msg ? msg is typed an after pressing send button it goes away but not shown in screen

  • @SingularAItech
    @SingularAItech 2 роки тому

    thanks you !!!!

  • @emielv8365
    @emielv8365 3 роки тому

    14:33 🤔💁🏻‍♂️

  • @rafatwasef8518
    @rafatwasef8518 3 роки тому

    You never answer my question

  • @30guarino
    @30guarino 3 роки тому +2

    Thanks for the video! .....2 things I wanted to bounce off you and get your opinions on:
    1) In the ChatMessage Struct could we use @DocumentID var id : String ...think this is a rather new feature to use for Firestore
    2) When creating the chat message bubbles for each user could we create a BOOL variable to switch the alignments and colors using a ternary option

    • @LetsBuildThatApp
      @LetsBuildThatApp  3 роки тому

      Sure, whatever works. Often you won’t know the trade offs until you go through implementation

    • @seccat
      @seccat 2 роки тому

      Should also use "@ServerTimestamp var timestamp: Timestamp?", so Firebase doesn't have to trust the client's clock.

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

      How do you send the timestamp to firestore? Is it still the same "timestamp": Timestamp()? @@seccat

  • @guleranaa6060
    @guleranaa6060 2 роки тому

    is there any way to contact you bcz I msged u on twitter as well but no reply am stuck on 12th episode of this course an I don't want to skip it