Developers that deal with Xcode know how frustrating a long, winding View Controller can be. To help you recognize when you should move some code into other files, Luft subtly alerts you that your View Controller is getting out of hand.
It’s not a buggy pop-up alert or series of annoying dings, either. Luft simply changes the color of your gutter depending on how many lines of code you’ve written.
“Europe's leading digital technology conference”
It's happening, Join 15k digital minds to shape what's next for your business
For view Controllers with less than 150 lines of code, the gutter stays green. If you’re between 150 and 300 lines, expect it to turn yellow. Over 300 lines and your gutter turns red.
You don’t have to make any changes, either. Luft simply lets you know when things are unruly. If you’d rather live in spaghetti code, be my guest — but don’t complain when it comes time to update your app.
Luft can be downloaded via GitHub.
➤ Luft [GitHub]