Swiftify for Xcode can now automatically rearrange your code to make it more organized by automatically adding the global variables and constants declared in Objective-C at the top of the converted Swift file.
Original Objective-C code:
Converted Swift code with this Option turned on:
Converted Swift code with this option turned off:
To toggle this feature open Preferences (⌘+,) => Converter and toggle the corresponding checkbox:
Note: If the global variables and constants are declared in between
directives then disabling this option may lead to better results.