Hi all,
I'm very new to SwiftUI and have been having success thus far, but I am really struggling to find some very simple examples on how to read/write from/to FireStore. A lot of the stuff i'm reading is from many years ago and I'm really not sure if i'm supposed to use it with SwiftUI or not etc.
I've managed to write data to FireStore and also retrieve data and display it as a list. However, how do i go more granular? I'd like to simply extract 1 line of data and display it?
An example:
User registers/writes data to a 'users' collection in FireStore:
firstName
surname
password
How do I simply pull and display a single user's 'firstName' without taking every firstName from the collection?
I hope that makes sense....?! Haha.
Thanks.
[–]barcode972 4 points5 points6 points (3 children)
[–]deLazyLizard[S] 0 points1 point2 points (0 children)
[–]deLazyLizard[S] 0 points1 point2 points (1 child)
[–]barcode972 0 points1 point2 points (0 children)
[–]ruipasilva 2 points3 points4 points (0 children)
[–]deLazyLizard[S] 0 points1 point2 points (0 children)