Tag Archives: xcode

Useful Xcode 7 plugins for Swift 2

Recently I started picking up Swift 2 with some practice projects and once again started using Xcode. Many things have changed since my last encounters with Xcode and Objective-C in the iOS 4.x days, but I am really enjoying Swift so far. CocoaPods is still around and remains the best dependency manager, although Apple has recently released the Swift Package Manager which still seems to be in alpha stages, until the release of Swift 3.

Xcode remains largely similar to previous versions, although there is now an excellent plugin manager called Alcatraz. I have installed a few plugins and wanted to share a few very useful ones. All of these are available on Alcatraz, so install it via the link above.

  1. Tomorrow Night
    Screen Shot 2015-12-31 at 5.19.59 PM
    A very popular dark color scheme available for many platforms and tools. Looks great with Swift!
  2. SCXcodeMinimap
    minimap
    If you have ever used SublimeText, then you’re familiar with its iconic code minimap feature. This brings that functionality to Xcode.
  3. Backlight
    Screen Shot 2015-12-31 at 5.25.21 PM
    A very subtle but useful tweak. Highlights the current selected line with a custom background color. Sometimes the cursor is hard to see and you lose sight of which line you’re actually on when jumping around code.
  4. MarvinPlugin
    Screen Shot 2015-12-31 at 5.27.45 PM
    A collection of text manipulation commands with customizable keyboard shortcuts. As someone who is used to using PHPStorm, I really missed the “Duplicate Line” shortcut which I assigned to ⌘+D.
  5. BBUDebuggerTuckAway
    Xcode already hogs so much screen real estate with all its frames, and this automatically hides the debugger once you start typing into the source code window.
  6. FuzzyAutocomplete
    Screen Shot 2015-12-31 at 5.45.32 PM
    Normally code autocompletion requires contiguous characters to be input, but this plugin will let autocomplete use the same algorithm as the “Open Quickly” option for fuzzy search.
  7. XAlign
    xalign
    Neat freaks and readability snobs will love this one. Allows you to automatically align your lines for example based on the ‘=’ sign.

That’s all for now. I’ll try to keep this post updated as I run into more plugins. Please also share your favorites in the comments!