Giter Site home page Giter Site logo

xcode5-plugin-template's Introduction

Xcode5 Plugin Template

Basic template for creating a plugin for Xcode 5.

Installation

  • Clone or copy this project to ~/Library/Developer/Xcode/Templates/Project Templates/Application Plug-in/Xcode5 Plugin.xctemplate. (Create the Templates/Project Templates/Application Plug-in subdirectories if they do not already exist.)
  • Restart Xcode
  • When creating a new Xcode plugin, create a new project and select Xcode5 Plugin from OS X > Application Plug-in.

Usage

The default plugin file links against AppKit and Foundation, and, when built (and Xcode is restarted), creates a menu item labeled "Do Action" in the File menu. Pressing the menu item should open an alert. Customize at will!

Notes

  • Set XCPluginHasUI in Info.plist to YES to disable your plugin

  • Unlike Xcode 4, Xcode 5 uses ARC.

  • Add the build UUIDs for the versions of Xcode you wish to support to DVTPlugInCompatibilityUUIDs in Info.plist. This can be found by running:

    defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

Plugin Debugging

  • I would recommend keeping a console open with tail -f /var/log/system.log running, for that special moment when you crash Xcode, or want to see the output of your NSLog() statements.

xcode5-plugin-template's People

Contributors

kattrali avatar

Watchers

 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.