Cloud Firestore Get Data (and other operations) with SwiftUI

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 86

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

    Thanks for this video. I have been struggling coming from web dev to SwiftUI and this is the best, most concise and most clear tutorial I've seen so far on Firebase/SwiftUI integration

  • @anashassnn
    @anashassnn 2 роки тому +7

    Definitely checking out your courses because of this, your teaching style is so easy to follow. Thank you!

    • @CodeWithChris
      @CodeWithChris  2 роки тому +1

      Happy to welcome you to the CodeCrew family, Anas! :) -Arthur

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

    Amazing! Appreciate the pace and comments.

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

      Thanks for learning with us, Bradley! -Arthur

  • @vithushanlogeswaran8422
    @vithushanlogeswaran8422 3 роки тому +1

    Thank you! need more advanced backend applications using swiftUI and firebase..

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

      Thank you for sharing, Vithushan! :) -Arthur

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

    You are an impressive teacher 🙂

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

    Your tutorials helped me a lot to build my academic project... Thanks a lot !!!!!!

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

    Thank you Chris , you solved my problem !! Keep it up !!

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

      Awesome, happy to know this. Thanks for being here! :) -Arthur

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

    AMAZING videos thanks to the UA-cam channel "CodeWithChris". Please make more such kind a understandable videos on Firebase with SwiftUI, not only me will appreciate these kinds of helpful videos 🔥👏🤩

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

      More quality content to come, thanks for subscribing and learning with us! -Arthur

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

    @CodeWithChris: How can I rather use the .onDelete(perform: ) function in this example?

  • @marypaul9627
    @marypaul9627 2 роки тому +1

    Thanks worked..do you have user registration and authentication with Firestore?

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

      Hello! Yes we do cover those topics in our courses when we build apps with user accounts. All courses are available on www.codewithchris.com if you want to check it out.
      @AdrienVillez

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

    @CodeWithChris: Is it possible to also share that list you created in this tutorial with other users via Firebase as well?

  • @multimedia4953
    @multimedia4953 2 роки тому +1

    You helped me soooo much!!!!!
    Your Videos are easy understandable, also for beginners like me :D

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

      This comment made our day. One of the reasons why we keep on going. Thank you! -Arthur

  • @Julius-o1q
    @Julius-o1q Рік тому

    Thank you so much for your content men. Please keep talking slowly, it's easier to understand.

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

      Thanks for taking the time to comment! ❤️

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

    Great Video, quick question ... In the get data function, how would you filter an specific Todo? In my case I practicing getting All users, but I want to filter the one I am currently logged in? I am able to get All users, but I don't want the logged in user to show.

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

      Hi Juan! We encourage you to post your question on our CodeCrew forum codecrew.codewithchris.com so that our tech support staff can better assist you. :) - Pat

  • @James-pj6cg
    @James-pj6cg 2 роки тому

    Loved the video..... was really hoping to see how to pass the data to a detail screen where you could see and edit the notes

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

      Thanks for the kind words. Feel free to post your question on our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. All the best! -Arthur

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

    Thanks for this video, you helped me so much

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

    You are fantastic man,thanks a lot

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

      You are more fantastic, Kadir! Thank you! -Arthur

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

    @CodeWithCris You should mention real time listening of the new events and updates

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

      Thanks for dropping by and learning with us! -Arthur

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

    How can you put in a rich text field into Firebase? I want to pass in paragraphs and bullet points and things like that.

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

    Hi Chris, have you or will you do a video on paginating data from Firestore?

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

      Hello, Eli! Can you kindly post your idea here? app.productstash.io/codewithchris#/ideas Thanks for learning with us! :) -Arthur

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

    Can you share the video or reference how we can use zipcodes and get city when enters zipcode? can you share the reference if you have one

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

    Love the videos and happy to be a member of the CC. Wondering two things. 1. Do you prefer SPM or Pods 2. My code seems to jump passed the code completion. How do I find out what the deal is with that? Thanks!

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

      Hello, right now the most stable would probably be SPM.. but cocoapods is popular and has more libraries i think. not sure about your code completion you might want to check xcode preferences for that

    • @PeterFriese
      @PeterFriese 3 роки тому +1

      SPM is now the preferred way to add Firebase to your project, but we still support CocoaPods.

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

      @@PeterFriese SPM is so much cleaner and simpler. No xcworkspace and terminal and so on. Much prefer the simplicity.

  • @thepotatoghost7709
    @thepotatoghost7709 3 роки тому +1

    Thank you so much!

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

    Thank you guys , really up to date content, I have got a question.
    I want to set custom document ids made of numbers (say 10 digits), because the ids will be shown in the ui as a reference.
    Is there a way to do that? How can I make sure that the generated id in not occupied in a particular collection?

    • @CodeWithChris
      @CodeWithChris  3 роки тому +1

      Hello, best if you post this question on our CodeCrew forum so that our technical support staff can assist you: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

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

    This tutorial is awesome , thanks man .
    Can you make a tutorial about user content management please ? for example , I am trying to build e-learning app for 2 courses, I record and post videos lessons, my problem is that I want for the users to have access to only the class that they signed up for, not both of them. Is it possible to make a tutorial for us about this please ? thanks again.

    • @CodeWithChris
      @CodeWithChris  2 роки тому +2

      Hello, Benson! Thanks for the kind words. Kindly submit your suggestion here: app.productstash.io/codewithchris#/ideas Thank you! -Arthur

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

    Would be great if this tutorial is extended for a logged in user

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

      More content to come. Thanks for learning with us! -Arthur

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

    Excellent tutorials Chris, can you make a tutorial on passing data to other collections?or if u already have send the link plsss
    Thanks, love ur videos!!

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

      "Hello, i suggest checking out our full courses content then its loaded of information and sample apps which you may like.. check it out here codewithchris.com
      - Francis"

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

    Hello, I am reading data and displaying them in List as you do in the video. However, I would like to implement a navigation link on each item in the list do display the info about the specific item. I am not really sure how to pass the current item's data to the destination of navigation link. Any idea? Thank you

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

      Hello, kindly post your question in our CodeCrew forum so that our tech support staff can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur

  • @codigobyte6036
    @codigobyte6036 11 місяців тому

    Thank you!

  • @SOK-gn6hw
    @SOK-gn6hw 2 роки тому

    This is great!

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

    Hello Chris, Xcode is saying. "Cannot find "textfield" in scope" would you happen to know how to fix this? I am following another tutorial of your and running into this problem sometimes. thanks.

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

      "Hello, you probably put the ""textfield"" variable that you are using inside a function or something.. this might be the reason why you cant use it anywhere else
      - Francis"

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

    Can you make a video of a firebase login screen so that each user can see it's own Todo's? (In swiftui)

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

      Hello, kindly post your suggestion here: app.productstash.io/codewithchris#/ideas Thank you! -Arthur

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

    what keyboard do use?

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

    i got error like "No exact matches in call to initializer" in ContentView folder when i add item as number format.

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

      "Hello, some of the codes might have changed by now.. try checking the official documentation maybe they changed things around
      - Francis"

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

    Thanks for amazing videos. I have a question if someone can help with it. I have a project which i want to push it on github. I am using firebase and cloud messaging for push notifications. So i want to hide my server key reference before uploading it to github. How should I proceed with it ? Thanks

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

      Hello! Best to post your question and screenshots on our CodeCrew forum so that our technical support staff there can assist you. Go here: codecrew.codewithchris.com. Thank you! -Arthur

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

    how can i only read 1 doc instead of all

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

      Sorry, can you clarify your question? -Arthur

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

    This is an amazing tutorial, thank you for that! But there is one thing I don't get :) I'm triggering function in Init() section to fill in my list with data from Firestore but when I check its size (.count) it shows 0, but then, when it displays it's 8. Why, how? :)

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

      Hello! Best if you post your question in our CodeCrew forum so that our tech support staff can give you guidance. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

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

    Why we need to perform all operation on main thread as @Published and @ObservedObject wont take care of that?

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

      Hello, best if you consult our tech support for better guidance on this question. Go here: codecrew.codewithchris.com. Thank you! -Arthur

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

    Tak!

  • @MaziarShodjaziba
    @MaziarShodjaziba 3 роки тому +1

    Could you please show an instruction on how to actually update the data with new information instead of hardcoding the edit or merge part with a string? So that it can get new passed data from the text fields.
    Thanks for great content as always!

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

      Hello! Kindly post your question (and screenshots if needed) on our CodeCrew forum so that our technical support staff there can assist you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur

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

      Did you find a solution?

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

    This was a great tutorial but the update data part was terrible. I thought you would show the data back in the text fields and then allow the user to edit and then save the data again.

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

    W video

  • @j.i.s.a.n2987
    @j.i.s.a.n2987 3 роки тому

    Hello bro i have some useful app idea will u create mine app

    • @CodeWithChris
      @CodeWithChris  3 роки тому +1

      Hello, we don't make apps for others, unfortunately. But you can learn how to code yourself, yay! Go here: codewithchris.com/start :) -Arthur

    • @j.i.s.a.n2987
      @j.i.s.a.n2987 3 роки тому

      @@CodeWithChris no no sir I don't mean it

    • @j.i.s.a.n2987
      @j.i.s.a.n2987 3 роки тому

      @@CodeWithChris actually I want to know that can you creat apps

    • @j.i.s.a.n2987
      @j.i.s.a.n2987 3 роки тому

      @@CodeWithChris plz replay me

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

    Unfortunately an outdated tutorial now. They have changed things like firebase to firebaseCore, the code is different also for connecting to firebase. A lot of outdated information and I am not sure I would spend my time trying to follow this very closely anymore.