github firebase/FirebaseUI-iOS v0.7.0
FirebaseUI 0.7.0

latest releases: v15.1.0, v15.1.0-alpha, v15.0.0...
8 years ago

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 and UICollectionView 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
}

Don't miss a new FirebaseUI-iOS release

NewReleases is sending notifications on new releases.