FirebaseUI-iOS icon indicating copy to clipboard operation
FirebaseUI-iOS copied to clipboard

numberOfRowsInSection for FirebaseTableViewDatasource

Open psopher opened this issue 10 years ago • 2 comments

In the example, there's no number of rows in section called for FirebaseTableViewDatasource. I assumed it was because it was built in that it would stop populating automatically when nodes ran out. However, when I ran the program without calling number of rows in section it gave me this error:

[LanguagesListFUITest tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x1465d5770

Any advice on how to get around this?

psopher avatar Dec 10 '15 22:12 psopher

@psopher can you post what your TableView code looks like? We've got -numberOfRowsInSection implemented here

Are you sure that you're setting the datasource property on your tableview?

asciimike avatar Dec 16 '15 23:12 asciimike

Thanks for the answer. I figured out that I was setting the dataSource incorrectly. I had set it to self instead of self.dataSource

psopher avatar Dec 21 '15 17:12 psopher