Home

Awesome

XCSnippetr

Alcatraz compatible License

Share code snippets to Slack and Gist without leaving Xcode ever again! 😱

Features

Slack only:

Gist only:

How to use

Select any code snippet you would like to share and right click on it.

contextual menu

The first time, you will be prompt to authenticate.

For Slack, use your API tokens available at https://api.slack.com/web login view

For Gist, generate API tokens at https://github.com/settings/tokens/ login view

You should be ready to go now. Simply pick the team and channel to share to. Add a comment. Share! 💥 main view

Install

Install through Alcatraz, the package manager for Xcode.

Alternatively, clone the repo:

  1. Build the project to install the plugin. The plugin will be installed in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCSwiftr.xcplugin.

  2. Restart Xcode so the plugin bundle is loaded.

License

(The MIT License)

Copyright (c) 2016 Ignacio Romero Zurbuchen iromero@dzen.cl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.