A source editor extension for easy Swift version #if defs
- Clone the repository, or Download the zip
- Open
WrapperXcode.xcodeproj
- Select the
WrapperXcode
application, andBuild and Run
- The blank application will open, and you can then quit it:
- Head to
System Preferences
->Extensions
, and you should see theWrapperExtension
ready for you to select: - Select the text you want to update and then run the extension via the
Editor
menu - Optionally set a keyboard shortcut for the extension via Xcode's
Key Bindings
pane inPreferences
: