Mark Rickert
Mark Rickert
I haven't, thought I just realized that we also have the `trigger_action` for both table and collection views that implement this sort of thing too.
Like this:  I'll be working on adding this soon since I need it for one of my apps :)
My idea is that if you define cells with this additional parameter: ``` ruby { # ... scope: :one }, { # ... scope: [:one, :two] }, { # ......
Probably not more than a few methods. The scoping is a native API to the UISearchBar component.
Yeah, I agree that it should probably be a string, but since strings are created in memory each time and symbols are reused in memory, I thought for larger datasets...
Cool, well I'll get started on adding this functionality tonight and we'll leave it in the searchable module for now.
Yeah, good call. I'll have something to look at later tonight probably.
here's the initial work done: https://dl.dropboxusercontent.com/u/12954/search_scopes.mov Working on getting the ":all" scope implemented now
Initial work is in this branch: https://github.com/clearsightstudio/ProMotion/tree/search_scopes Change the app delegate to `open TableScreenSearchable.new(nav_bar: true)` to see it in action!
OK, done for the evening. @jamonholmgren, have a look at that branch and let me know what you think so far. Everything is working, including indicating a custom string that...