There have been some discussions on how to organize your #import statements in objective-c. This thread tells us how to do it manually and here, we learn that there is no way to let Xcode do the work (like, Eclipse for Java or Visual Studio for C#). Now, I see that, since objective-c is unmanaged, this task is not as easy as for Java or C#, but
Are there any tools (either Xcode plugin or standalone) that help you cleaning up your import statements? Or more specifically, are there tools that help you with one or more of the following tasks:
- Adding missing
#importor@classstatements - Removing unused
#importor@classstatements - Converting
#importstatements to@classstatements or vise versa, depending on what is used - Changing the order of your
#importor@classstatements, e.g. alphabetically or by first usage in your code
PS: Just for the case that somebody thinks that this question doesn’t belong here, I guess it perfectly falls under software tools commonly used by programmers or practical, answerable problems that are unique to the programming profession
AppCode is the only alternative I can think of that has these kinds of features.