Add Xcode imports from anywhere in the code

xcode

#1

Inspired by Peter's Add #import "Class.h" for selected class I decided to make a macro that replaces an Xcode extension that I used to use. It allows me to type the import anywhere then I hit Control+Command+P and the macro moves it to the top of the file, at the end of the corresponding import block: #import "header", #import <header>, @import Framework, or import Framework.

Move Import :point_up:️.kmmacros (18.8 KB)