Allow the parent VC to tell if the current data is being filtered or not.

This commit is contained in:
Mark Rickert
2013-06-30 17:14:55 -04:00
parent 23981bff71
commit 7de0142cce

View File

@@ -38,6 +38,11 @@ module ProMotion
table_view
end
def is_searching?
return true if self.class.respond_to?(:get_searchable) && @promotion_table_data.filtered == true
false
end
def update_table_view_data(data)
@promotion_table_data.data = data
table_view.reloadData