Releases: firebase/FirebaseUI-iOS
Releases · firebase/FirebaseUI-iOS
FirebaseUI 2.0.0
A more flexible database
- Added support for sorting/transforming the results of Firebase queries before they are passed to any data sources.
- Decoupled data sources from Firebase collections, so you can spin your own.
- Added support for subclassing to
FUIArray
. It is no longer painful to make custom collections that have their own behavior (see #186). - Added methods
arrayDidBeginUpdates:
andarrayDidEndUpdates:
toFIRCollection
so consumers can batch changes more easily. - Added
observeQuery
andinvalidate
methods.FUIArray
no longer observes upon initialization and requires a call toobserveQuery
before emitting any events.
These are breaking API changes, so FirebaseUI is now in 2.0.0.
FirebaseUI 1.0.0
This update is stable and fully functional version of FirebaseUI-iOS.
Starting from 1.0.0 FirebaseUI-iOS is using it's own class prefix FUI
Changes:
- All FirebaseUI classes have been renamed to use the
FUI
prefix instead ofFirebase
orFIR
. Where applicable, classes postfixed withUI
have had theirUI
suffixes dropped. Some examples of this includeFIRAuthUI
->FUIAuth
andFirebaseArray
->FUIArray
. - Added indexed collections and data sources to FirebaseUI Database. Use these classes to load data from indexed data as described in Firebase Database's best practices for storing data.
FirebaseUI 0.7.0
Auth
- added sample for custom IDSs scopes
- added sample for customization of supported IDPs
- documentation updates
Database
- Data sources (
FirebaseCollectionViewDataSource
,FirebaseTableViewDataSource
) no longer create/dequeue/reuse cells. Users are now responsible for cell creation and reuse. - Data sources now require a closure on initialization to populate their views.
UITableView
andUICollectionView
have been extended to make it easier to bind them to Firebase queries. Now you don't have to write out the ridiculously long data source class names multiple times.
// objc
self.dataSource = [self.tableView bindToQuery:self.query
populateCell:^UITableViewCell *(UITableView *tableView,
NSIndexPath *indexPath,
FIRDataSnapshot *object) {
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kTestReuseIdentifier];
/* ... */
return cell;
}];
// swift
self.dataSource = self.collectionView.bind(to: self.query!) { (view, indexPath, snap) -> UICollectionViewCell in
let cell = view.dequeueReusableCell(withReuseIdentifier: FIRChatViewController.reuseIdentifier,
for: indexPath)
/* ... */
return cell
}
FirebaseUI-iOS
Customization of authentication screens
FirebaseUI 0.6.1
Fixes an issue where nil/empty keys could cause a crash in FirebaseArray
(#162).
Firebase UI 0.6.0
Introduces FirebaseUI Storage, which adds support for FIRStorageReference
s on top of SDWebImage for easy image loading from Firebase Storage.
FirebaseUI iOS: OAuth access/id tokens implementation
Return OAuth access/id tokens after a successful sign-in operation #142
FirebaseUI iOS: Twitter Provider Integration
- Implemented twitter provider in FirebaseUI
- added obj-c example for Twitter provider
FirebaseUI iOS: Stable Bitcode Edition
Built with bitcode and without app-breaking bugs.
This release also re-enables iOS 7 support.
FirebaseUI iOS: Stable Edition
Fixes a critical issue where classes would be duplicated in the runtime. I am very sad.