Code Monkey home page Code Monkey logo

quickadd's Introduction

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)

quickadd's People

Contributors

funky-monkey avatar tahaburak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.