All Projects → k0nserv → Luft

k0nserv / Luft

Licence: mit
The Xcode Plugin that helps you write lighter view controllers

Projects that are alternatives of or similar to Luft

Linessorter Xcode Extension
Xcode Extension that helps you keep your import statements and long code lists organized and uniform
Stars: ✭ 54 (-69.83%)
Mutual labels:  xcode, xcode-plugin
Xfunnyeditor
Xcode plugin to display an image on the background of the editor
Stars: ✭ 92 (-48.6%)
Mutual labels:  xcode, xcode-plugin
Dyci Main
Dynamic Code Injection Tool for Objective-C
Stars: ✭ 1,103 (+516.2%)
Mutual labels:  xcode, xcode-plugin
Gitdiff9
Highlights lint, deltas and recent changes against git repo in Xcode 9
Stars: ✭ 43 (-75.98%)
Mutual labels:  xcode, xcode-plugin
Timliu Ios
iOS开发常用三方库、插件、知名博客等等
Stars: ✭ 10,898 (+5988.27%)
Mutual labels:  xcode, xcode-plugin
Scxcodeminimap
Sublime Text like Minimap for Xcode
Stars: ✭ 1,037 (+479.33%)
Mutual labels:  xcode, xcode-plugin
Xgist
Xcode extension to send code to GitHub's Gist
Stars: ✭ 75 (-58.1%)
Mutual labels:  xcode, xcode-plugin
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (+191.62%)
Mutual labels:  xcode, xcode-plugin
Xcode developer disk images
Stars: ✭ 125 (-30.17%)
Mutual labels:  xcode, xcode-plugin
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: ✭ 1,388 (+675.42%)
Mutual labels:  xcode, xcode-plugin
Import
Xcode extension for adding imports from anywhere in the code ☝️
Stars: ✭ 818 (+356.98%)
Mutual labels:  xcode, xcode-plugin
Ammethod2implement
Xcode plugin to generate implement code for the selected method and const string.
Stars: ✭ 148 (-17.32%)
Mutual labels:  xcode, xcode-plugin
Peckham
Add #import-s from anywhere in the code.
Stars: ✭ 719 (+301.68%)
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 (+480.45%)
Mutual labels:  xcode, xcode-plugin
Scxcodeswitchexpander
Xcode plugin that enables switch cases autocompletion
Stars: ✭ 662 (+269.83%)
Mutual labels:  xcode, xcode-plugin
Scxcodeeditorinset
Xcode plugin that adds an empty (configurable) space to the end of the editor text view
Stars: ✭ 64 (-64.25%)
Mutual labels:  xcode, xcode-plugin
Tulsi
An Xcode Project Generator For Bazel
Stars: ✭ 365 (+103.91%)
Mutual labels:  xcode, xcode-plugin
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 (+162.57%)
Mutual labels:  xcode, xcode-plugin
Snowonder
🔮 Magical import declarations formatter for Xcode
Stars: ✭ 100 (-44.13%)
Mutual labels:  xcode, xcode-plugin
Nef Plugin
🔌 an Xcode extension to use nef features easily
Stars: ✭ 144 (-19.55%)
Mutual labels:  xcode, xcode-plugin

Luft, the Swedish (and German, Danish and Norwegian) word for air.

Luft aims to help you write shorter, lighter and more readable view controllers. Luft colors your Xcode gutter in a nice green when your view controller is light. When it starts to get a bit heavier, the gutter turns yellow to warn you that it's time to start moving code to other places. If you ignore the warning the gutter eventually turns red as you add more code.

Xcode 8 and Xcode Extensions

Unfortunately the introduction of Xcode extensions and changes to code signing requirements in Xcode 8 makes loading old plugins more difficult. You can still do it by stripping code signing from Xcode, but it's not something we recommend. I've raised the following radars for changes required to rebuild Luft with Xcode Extensions. Feel free to dupe them.

Installation

Using Alcatraz

Recommended

Luft can be installed via the Alcatraz plugin manager.

If you don't have it installed, you can install it using:

curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh

After installing restart Xcode and go to Window -> PackageManager(cmd + 9). From there you can search for "Luft" and install it.

Manually

$ git clone https://github.com/k0nserv/luft.git
$ cd luft
$ open Luft.xcodeproj

In Xcode press cmd + r

Defaults

By default the following rules are used to determine the color of the gutter

Number of lines Status
< 150
>= 150 and <= 300 ⚠️
> 300 ⛔️

Known Issues

  • Having the same file open in the assistant editor will not correctly reflect changes made in the active editor
  • Other Issues? Please open a github issue.

Screenshots

License

MIT, see LICENSE.md

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].