Skip to content

Instantly share code, notes, and snippets.

@slabko
Created May 1, 2015 10:25
Show Gist options
  • Save slabko/e2f6167729651ba5f871 to your computer and use it in GitHub Desktop.
Save slabko/e2f6167729651ba5f871 to your computer and use it in GitHub Desktop.
Remove imports from .m and .h files
find ./ -name '*.h' -print -exec sed -i '' -E '/#\import \<UIKit\/UIKit.h\>/d' {} \;
find ./ -name '*.h' -print -exec sed -i '' -E '/#\import \<CoreData\/CoreData.h\>/d' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment