Commit Graph
7 Commits
Author SHA1 Message Date
cherylEnkidu 315221fe5b Export FirebaseCore.Timestamp in Firestore files to reduce the breakage of moving Timestamp (#13292) 2024-07-16 19:44:08 -04:00
Nick Cooke cf1b9419ea [Firestore] Remove FirestoreSwift (#13085) 2024-06-06 17:16:04 -04:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
Peter FrieseandBrianna Zamora ba999200a8 Add animations to @FirestoreQuery (#11437)
* 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>
2023-06-27 14:13:21 +02:00
Paul Beusterien 4a26ed8ac3 Fix build and run issues for Firestore Example (#10595) 2022-12-22 12:34:41 -05:00
Nick Cooke 9e475a5c58 [v9] End beta period and update release tooling for select products (#9603)
* Exit beta for several products

* Review

* Fix typo

* [skip ci] Update CHANGELOGs for breaking change
2022-04-08 11:59:58 -04:00
a5859f9cec Add property wrapper for Firestore (#8614)
* Add FIRRequest
* Make FIRPredicate public
* Make init public
* Bugfixes
* Add debug print
* Move to main thread
* Undo "Move to main thread"
* Add FirebaseStore
* Add placeholder value
* Treat CollectionReference as Query
* Change let to var
* Replace getDocuments with addSnapshotListener
* Feedback from review
* Add sample project
* Rename folder, Rename FirebaseStore to QueryStore, Rename FIRRequest to FirestoreQuery, Rename several functions, attributes and parameter labels, Extend error handling
* Update some access specifiers, Add factory methods
* Add orderBy and limitTo
* Update Copyright, Rename FIRPredicate to QueryPredicate, Rename QueryStore to FirestoreQueryObservable, Rename some parameters, Remove setter for wrappedValue
* Rename store to firestoreQueryObservable
* Add limitToLast
* Move different types to different files
* Add FirestoreQueryConfiguration and projectedValue to dynamically change predicates & collectionPath
* Add Documentation
* Update documentation
* Add example app
* Address feedback from review
* Fix whitespace
* Address feedback from review
* Update data
* Add error handling (Manually cherry pick from Morten's PR: https://github.com/chFlorian/firebase-ios-sdk/pull/2)
* Update sample app to demonstrate error handling
* Cleanup
* Fix warning regarding unwrapping
* Fix tvOS availability
* Fix typos
* Experimental: use @FirestoreQuery inside a view model (Hint: this doesn't work)
* Fix platform availabilities
* Update data
* Improve error handling
* Cleanup
* Address feedback from review
* Update data
* Cleanup
* Alternate signature for predicates
* Address feedback from review
* Remove trailing backtick

Co-authored-by: Florian Schweizer <post.an.flo@gmail.com>
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
2021-10-06 13:56:31 +02:00