I'm trying to implement a tableView searching/filtering for my iOS app that uses Realm.io database. There are very few examples of using search function with this database and I'm kinda lost. There are no official guides for filtering results with Realm and the one I was trying to use is this one:
http://www.raywenderlich.com/81615/introduction-to-realm
but it got me nowhere, probably because it has been written 6 months ago and some things have changed in both Swift and Realm since.
I'm mainly interested in implementing UISearchControllerDelegate
and UISearchResultsUpdating
protocols and changes to tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath)
associated with implementing a searchBar. Does anyone has a simple working example of a TableViewController with Search using Realm and written in Swift? If not I could try to understand how it is done in obj-c...