AppCode lets you use the Safe Delete refactoring to remove files and symbols from the source code safely. Before AppCode deletes a file or a symbol, it searches for usages and if they are found, AppCode lets you check them to make necessary adjustments.
Select a file/directory in the Project tool window or a symbol in the editor.
Selectfrom the main or context menu or press Alt+Delete.
In the dialog that opens, deselect the Search in comments and strings checkbox if you want AppCode not to search for occurrences in comments and strings.
Deselect Search for text occurrences if you want AppCode not to search for the occurrences in text files.
If AppCode encountered potential problems, it displays the Usages Detected dialog. Proceed with the appropriate action.