FirebaseDataSource Class Reference
Inherits from | NSObject |
---|---|
Conforms to | FirebaseArrayDelegate |
Declared in | FirebaseDataSource.h |
Overview
A FirebaseDataSource is a generic superclass for all Firebase datasources, like FirebaseTableViewDataSource and FirebaseCollectionViewDataSource. It provides properties that all subclasses need as well as several methods that pass through to the instance of FirebaseArray.
array
The FirebaseArray which backs the instance of the datasource.
@property (strong, nonatomic) FirebaseArray *array
Discussion
The FirebaseArray which backs the instance of the datasource.
Declared In
FirebaseDataSource.h
– count
Pass through of [FirebaseArray count].
- (NSUInteger)count
Discussion
Pass through of [FirebaseArray count].
Declared In
FirebaseDataSource.h
– objectAtIndex:
Pass through of [FirebaseArray objectAtIndex:].
- (id)objectAtIndex:(NSUInteger)index
Discussion
Pass through of [FirebaseArray objectAtIndex:].
Declared In
FirebaseDataSource.h
– refForIndex:
Pass through of [FirebaseArray refForIndex:].
- (Firebase *)refForIndex:(NSUInteger)index
Discussion
Pass through of [FirebaseArray refForIndex:].
Declared In
FirebaseDataSource.h