mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
* Feature: Add animations to @FirestoreQuery - Adds a SwiftUI `Animation` parameter to the FirebaseQuery initializer. - If animation is not `nil` then setting the data to the published value will be executed inside of a `withAnimation` block (with the given `Animation`) * feature: Add `FavouriteFruitsAnimationView` This view demostrates how to use the ``FirestoreQuery`` property wrapper, using the `animation` parameter to make sure list items are animated when being added or removed. * Explore alternative strategy for animating changes This is an alternatice to the approach for animating changes in PR #10813 * Update sample project to include a view with and without animations --------- Signed-off-by: Peter Friese <peter@peterfriese.de> Co-authored-by: Brianna Zamora <briannadoubt@icloud.com>
Firestore Sample
This sample demonstrates how to use Firestore. At the moment, it only contains
code that shows how to use the @FirestoreQuery property wrapper.
How to use
- Install the Firebase emulator suite (see https://firebase.google.com/docs/emulator-suite/install_and_configure for details)
- Launch the local emulator suite by running the
run.shscript in this folder - You can now run
FirestoreSampleon a local iOS Simulator, the app will communicate with the local Firebase Emulator suite