add pragma to locate methods

This commit is contained in:
Benjamin Reis 2017-11-13 14:10:01 +01:00
parent 5e989bbb28
commit 8b9b67008f

View file

@ -206,6 +206,8 @@
});
}
#pragma mark - Searchbar delegates
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {
searchBar.showsCancelButton = (searchText.length > 0);
[self reloadDataWithFilter:searchText];
@ -228,4 +230,5 @@
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar {
[searchBar resignFirstResponder];
}
@end