|
@@ -316,7 +316,10 @@
|
|
|
NSString *subpath = [self.childPaths objectAtIndex:indexPath.row];
|
|
NSString *subpath = [self.childPaths objectAtIndex:indexPath.row];
|
|
|
fullPath = [self.path stringByAppendingPathComponent:subpath];
|
|
fullPath = [self.path stringByAppendingPathComponent:subpath];
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+#pragma clang diagnostic push
|
|
|
|
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
indexPath = [self.searchDisplayController.searchResultsTableView indexPathForCell:sender];
|
|
indexPath = [self.searchDisplayController.searchResultsTableView indexPathForCell:sender];
|
|
|
|
|
+#pragma clang diagnostic pop
|
|
|
fullPath = [self.searchPaths objectAtIndex:indexPath.row];
|
|
fullPath = [self.searchPaths objectAtIndex:indexPath.row];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -334,7 +337,10 @@
|
|
|
NSString *subpath = [self.childPaths objectAtIndex:indexPath.row];
|
|
NSString *subpath = [self.childPaths objectAtIndex:indexPath.row];
|
|
|
fullPath = [self.path stringByAppendingPathComponent:subpath];
|
|
fullPath = [self.path stringByAppendingPathComponent:subpath];
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+#pragma clang diagnostic push
|
|
|
|
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
indexPath = [self.searchDisplayController.searchResultsTableView indexPathForCell:sender];
|
|
indexPath = [self.searchDisplayController.searchResultsTableView indexPathForCell:sender];
|
|
|
|
|
+#pragma clang diagnostic pop
|
|
|
fullPath = [self.searchPaths objectAtIndex:indexPath.row];
|
|
fullPath = [self.searchPaths objectAtIndex:indexPath.row];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -345,6 +351,8 @@
|
|
|
|
|
|
|
|
- (void)reloadDisplayedPaths
|
|
- (void)reloadDisplayedPaths
|
|
|
{
|
|
{
|
|
|
|
|
+#pragma clang diagnostic push
|
|
|
|
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
if (self.searchDisplayController.isActive) {
|
|
if (self.searchDisplayController.isActive) {
|
|
|
[self reloadSearchPaths];
|
|
[self reloadSearchPaths];
|
|
|
[self.searchDisplayController.searchResultsTableView reloadData];
|
|
[self.searchDisplayController.searchResultsTableView reloadData];
|
|
@@ -352,6 +360,7 @@
|
|
|
[self reloadChildPaths];
|
|
[self reloadChildPaths];
|
|
|
[self.tableView reloadData];
|
|
[self.tableView reloadData];
|
|
|
}
|
|
}
|
|
|
|
|
+#pragma clang diagnostic pop
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)reloadChildPaths
|
|
- (void)reloadChildPaths
|