re: Automatically Remove Unused #import Directives
re: Automatically Remove Unused #import Directives
- Subject: re: Automatically Remove Unused #import Directives
- From: George Warner <email@hidden>
- Date: Tue, 28 Oct 2008 10:23:24 -0700
- Thread-topic: Automatically Remove Unused #import Directives
On Mon, 27 Oct 2008 22:38:07 -0700, Jerry Krinock <email@hidden> wrote:
> After major remodeling of a project, I'm going to have about a hundred
> files with an average of maybe 20 #import directives at the top of
> each one, and half of them will be no longer necessary since the
> symbols that required them were removed or moved to other files during
> remodeling.
You could move all the "#import"'s into a precompiler header (.pch) file;
then sort and remove dups.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden