A source editor extension for easy Swift version #if defs
- Clone the repository, or Download the zip
- Open
WrapperXcode.xcodeproj - Select the
WrapperXcodeapplication, andBuild and Run - The blank application will open, and you can then quit it:

- Head to
System Preferences->Extensions, and you should see theWrapperExtensionready for you to select:
- Select the text you want to update and then run the extension via the
Editormenu
- Optionally set a keyboard shortcut for the extension via Xcode's
Key Bindingspane inPreferences: