3lvis/DATASource

Filtering DATASource

Closed this issue · 2 comments

Is it possible to filter DataSource using UISearchBar?
I'm trying but without success. Any help will be appreciated.
Thanks.

3lvis commented

Hi @dneykov,

If you change the dataSource.predicate it should work.

https://github.com/SyncDB/DATASource/blob/master/Source/DATASource.swift#L120

That will do it.
Thanks a lot.