Giter Club home page Giter Club logo

bbutoyunboxing's Introduction

As of Xcode 6 Beta 5, this plugin no longer needed to use custom frameworks inside Playgrounds. This repository is just here for historical purposes.

To use custom frameworks, simply put your Playground in the same Xcode project as your framework target, see this as an example.


Contentful Playground in Xcode

Xcode 6 plugin which allows usage of custom frameworks inside Playgrounds. Currently, this only supports OS X Playgrounds.

Place your own frameworks into $HOME/Library/Developer/Playground Frameworks and they will be automatically picked up. You can also place them next to whatever .playground bundle you are opening and they will be loaded.

There is a quick installation script, which will give you the plugin, the Contentful SDK and a Documentation Playground for that, so that you have a demo of the usefulness of this. Just run:

curl -fsSL https://raw.github.com/neonichu/BBUToyUnboxing/master/Scripts/install.sh | sh

and you are good.

If you are interested in the behind the scenes stuff, check out slides of my talk at NSLondon or visit my upcoming talk at SwiftCrunch.

Note: The plugin ships with a pre-built version of libPlaygroundInjector.dylib which will be placed inside the plugin bundle. If you build it yourself using the corresponding target, this version will be preferred instead of the binary version. It is just there to make the installation via Alcatraz possible.

Installation

Either

  • Clone and build the plugin yourself, it will be installed to the right location automatically by building it.

or

or

  • Use the quick installation script:

      curl -fsSL https://raw.github.com/neonichu/BBUToyUnboxing/master/Scripts/install.sh | sh
    

In any case, relaunch Xcode to load it.

Because it will modify functionality of plugins which are not initially loaded by Xcode, there is a slight delay of 5 seconds before the magic happens. If you launch Xcode with a new Playground directly, the plugin might not yet be ready.

Help needed

Follow @NeoNacho to help me beat @orta in followers count.

Thanks

Many thanks to Sam Marshall for his initial research on the topic. Also to Daniel Haight for some random ideas he gave me :).

bbutoyunboxing's People

Contributors

neonichu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bbutoyunboxing's Issues

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.