Import For Me
Xcode Source Editor Extension to add an import line without jumping to the head of file.
Sometime when you are busy at typing some coolest swift code in the world but find you need to import a missing module, you have to jump to the head of file, import it and lose yourself in no where.
This little extension will save you. Type 'import #module#' or just even the module name in a new line and launch the extension, the module will be automatically imported to the head of file and leave you at where you are.
How to use
- Download the code
- Open the project in Xcode 8.0 or later.
- Resolve the code sign issues
- Build and run.
- You may need to enable the extension from -> System Preferences -> Extensions -> Xcode Source Editor
- You will find the command in the Editor Menu.