tahaburak / QuickAdd

A Xcode Source Editor Extension to quickly add a method implementation with comment from selected text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Add

Platform version Swift Version

A Xcode Source Editor Extension to quickly add a method implementation with comment from selected text

Quick Add Demo

Why?

Xcode was lacking a way to quickly add a method. So I created it.

Installation Guide (Xcode 8 / OSX 10.11+)

  1. download the Quick Add app
  2. unzip and copy to Applications folder
  3. Run (right click + open)
  4.  System Preferences ⇒ Extensions ⇒ All ⇒ QuickAddPlugin. (See image 1 below.)
  5.  System Preferences ⇒ Keyboard ⇒ Shortcuts. Add Shortcut ⌥⌘i for Add method with comment. (See image 2 below.)
  6. open Xcode
  7. Select any Swift source file
  8. check if Editor -> Quick Add is there

Installation Guide (Xcode 9)

  1. Download and unzip the project.
  2. Open "Add Method.xcodeproj".
  3. Enable target signing for both the Application and the Source Code Extension.
  4. Product > Archive.
  5. Right click archive > Show in Finder.
  6. Right click archive > Show Package Contents.
  7. Open Products, Applications.
  8. Drag Add Method.app to Applications folder.
  9. Run Add Method.app and exit.
  10. Go to System Preferences -> Extensions -> Xcode Source Editor and enable this extension.
  11. The menu-item should now be available from Xcode's Editor menu.

Image 1

Extensions

Image 2

Extensions

Usage

Select the text you want to add an method implementation of, press ⌥⌘i and presto! A full method implementation!

Supported languages

  • Swift (for now)

About

A Xcode Source Editor Extension to quickly add a method implementation with comment from selected text

License:MIT License


Languages

Language:Swift 100.0%