How to Mark Unused Code (Methods, Properties, Classes) in Xcode for Deletion

Is there a way to mark unused parts of the code? I am developing an app using Objective-C, and I want to delete methods, properties, and classes that are not used in the code. In IDEA, this feature works well, with unused methods grayed out. However, Xcode doesn't have this functionality, making it inconvenient for me to remove unused code.

Answered by DTS Engineer in 827922022

Please file an enhancement request asking for unused method formatting. You can file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Please file an enhancement request asking for unused method formatting. You can file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

How to Mark Unused Code (Methods, Properties, Classes) in Xcode for Deletion
 
 
Q