import "UITableView+hideSeparators.h"
I have made a category for UITableView. This allows me to hide the separators on it, however my understanding is that importing this category makes all UITableView in the file with the import have the method?
[self hideSeparators];
This works but
[[[self searchDisplayController] searchResultsTableView] hideSeparators];
Produces
No visible @interface for 'UITableView' declares the selector 'hideSeparators'
Why does the category apply to the TableView but not to the searchResultsTableView?
Do you really need a category for hiding separators? Why you couldn’t just try something