Explorar o código

Add comment explaining why the file browser menu actions aren’t implemented in the table view delegate method.

Ryan Olson %!s(int64=11) %!d(string=hai) anos
pai
achega
6d563856a6

+ 2 - 0
Classes/Global State Explorers/FLEXFileBrowserTableViewController.m

@@ -283,6 +283,8 @@
 - (void)tableView:(UITableView *)tableView performAction:(SEL)action forRowAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender
 {
     // Empty, but has to exist for the menu to show
+    // The table view only calls this method for actions in the UIResponderStandardEditActions informal protocol.
+    // Since our actions are outside of that protocol, we need to manually handle the action forwarding from the cells.
 }
 
 #pragma mark - FLEXFileBrowserFileOperationControllerDelegate