All Projects → bow-swift → Nef Plugin

bow-swift / Nef Plugin

Licence: other
🔌 an Xcode extension to use nef features easily

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Nef Plugin

Import
Xcode extension for adding imports from anywhere in the code ☝️
Stars: ✭ 818 (+468.06%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
Stars: ✭ 188 (+30.56%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Linessorter Xcode Extension
Xcode Extension that helps you keep your import statements and long code lists organized and uniform
Stars: ✭ 54 (-62.5%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Linex
Feature packed Xcode extension
Stars: ✭ 210 (+45.83%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: ✭ 1,388 (+863.89%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Xcode developer disk images
Stars: ✭ 125 (-13.19%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Xgist
Xcode extension to send code to GitHub's Gist
Stars: ✭ 75 (-47.92%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Awesome Xcode Extensions
Awesome native Xcode extensions.
Stars: ✭ 2,628 (+1725%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Swiftai
SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. Codable and HandyJSON is supported. More features will be add.
Stars: ✭ 470 (+226.39%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (+262.5%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Snowonder
🔮 Magical import declarations formatter for Xcode
Stars: ✭ 100 (-30.56%)
Mutual labels:  xcode, xcode-plugin, xcode-extension
Gitdiff9
Highlights lint, deltas and recent changes against git repo in Xcode 9
Stars: ✭ 43 (-70.14%)
Mutual labels:  xcode, xcode-plugin
Scxcodeminimap
Sublime Text like Minimap for Xcode
Stars: ✭ 1,037 (+620.14%)
Mutual labels:  xcode, xcode-plugin
Kshobjcuml
KSHObjcUML can show oriented graph of dependencies between Objective-C and Swift classes in your project
Stars: ✭ 1,039 (+621.53%)
Mutual labels:  xcode, xcode-plugin
Dyci Main
Dynamic Code Injection Tool for Objective-C
Stars: ✭ 1,103 (+665.97%)
Mutual labels:  xcode, xcode-plugin
Codegenerator
A Xcode plugin for generate Objectice-C code.
Stars: ✭ 63 (-56.25%)
Mutual labels:  xcode-plugin, xcode-extension
Xbookmark
Bookmark Plugin for Xcode 8.x and 7.x
Stars: ✭ 72 (-50%)
Mutual labels:  xcode-plugin, xcode-extension
Peckham
Add #import-s from anywhere in the code.
Stars: ✭ 719 (+399.31%)
Mutual labels:  xcode, xcode-plugin
Scxcodeeditorinset
Xcode plugin that adds an empty (configurable) space to the end of the editor text view
Stars: ✭ 64 (-55.56%)
Mutual labels:  xcode, xcode-plugin
Xfunnyeditor
Xcode plugin to display an image on the background of the editor
Stars: ✭ 92 (-36.11%)
Mutual labels:  xcode, xcode-plugin

nef: an Xcode plugin

nef Swift UI Swift 5.3 Xcode 11+ macOS 10.15+

 

This project provides an extension for Xcode to integrate some nef features directly in the IDE. Using the core of nef, you can export snippets from your code selection directly in Xcode.

Features

💡 Exports a code selection to image or clipboard.

💡 Generates Markdown files from Xcode Playground.

💡 Builds a Playground Book with external dependencies defined in a Swift Package.

 

💻 Installation

➊ Latest binary in Releases section (preferred)

➋ Using Mac App Store

To complete the installation, you should enable nef extension from System Preferences > Extensions > Xcode Source Editor

 

✍️ Usage

You can find the nef plugin options in Xcode > Editor

Editor > nef

🔧 Preferences

You can customize the output image using the preferences action Editor > nef > Preferences

nef: preferences Xcode extension

🌁 Export code selection to image or clipboard

You can export your current code selection into a snippet, you only need to select the action Editor > nef > Code selection...

Output

nef: action for exporting code selection to image file nef: action for exporting code selection to clipboard

📃 Generates markdown file from Playground

Xcode Playgrounds let you write comments in markdown format using the symbols:

  1. //: for single line comments.
  2. /*: */ for multiline comments.

Markup for playgrounds includes page level formatting for headings and other elements, formatting spans of characters, showing inline images, and several other features. You can read more in the Markup Formatting Reference.

You can create a markdown file from playground page with the nef action Editor > nef > Export Playground page to markdown

📲 Create a Playground Book from your Swift package

You can create a Playground compatible with you iPad from a Swift package. You only need to open the swift package in Xcode, and select the action Editor > nef > Playground Book from Swift Package

It will ask you where to save the Playground Book, and it will start to build it.

nef: action for making a Playground Book

This feature needs to use Swift Package Manager tool. Consequently, it will need to disable the sandbox thus it is not allowed in the App Store; but if you want to enjoy this feature, you only need to install the .dmg you'll find in the releases section.

 

🔨 Xcode navigation keyboard shortcuts

To make you a more productive developer, you can associate a keyboard shortcut to each nef action. Open the shortcuts menu in Xcode > Preferences... > Key Bindings and set your command.

nef: set keyboard shortcut

⚖️ License

Copyright (C) 2019-2020 The nef Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].