{"id":13684908,"url":"https://github.com/k0nserv/luft","last_synced_at":"2025-03-17T06:31:41.661Z","repository":{"id":78973792,"uuid":"45687168","full_name":"k0nserv/luft","owner":"k0nserv","description":"The Xcode Plugin that helps you write lighter view controllers","archived":false,"fork":false,"pushed_at":"2017-03-25T15:57:28.000Z","size":209,"stargazers_count":173,"open_issues_count":0,"forks_count":8,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-27T19:03:49.586Z","etag":null,"topics":["alcatraz","objective-c","xcode","xcode-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/k0nserv/luft","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k0nserv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-11-06T14:38:39.000Z","updated_at":"2024-01-24T09:08:46.000Z","dependencies_parsed_at":"2023-05-09T12:31:43.484Z","dependency_job_id":null,"html_url":"https://github.com/k0nserv/luft","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Fluft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Fluft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Fluft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0nserv%2Fluft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0nserv","download_url":"https://codeload.github.com/k0nserv/luft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847062,"owners_count":20357317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alcatraz","objective-c","xcode","xcode-plugin"],"created_at":"2024-08-02T14:00:40.485Z","updated_at":"2025-03-17T06:31:41.192Z","avatar_url":"https://github.com/k0nserv.png","language":"Objective-C","funding_links":[],"categories":["Unofficial","非官方","WebSocket"],"sub_categories":["Plugins","\u003ca name=\"plugins\"\u003e\u003c/a\u003e插件"],"readme":"![](Resources/logo.png)\n\n\u003e Luft, the Swedish (and German, Danish and Norwegian) word for air.\n\nLuft 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.\n\n## Xcode 8 and Xcode Extensions\n\nUnfortunately 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.\n\n- https://openradar.appspot.com/radar?id=5503702324477952\n- https://openradar.appspot.com/radar?id=4985435868626944\n- https://openradar.appspot.com/radar?id=5001777682317312\n\n## Installation\n\n### Using Alcatraz\n\n\u003e Recommended\n\n`Luft` can be installed via the [Alcatraz](http://alcatraz.io/) plugin manager.\n\nIf you don't have it installed, you can install it using:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh\n```\n\nAfter installing restart Xcode and go to `Window -\u003e PackageManager`(cmd + 9). From there you can search for \"Luft\" and install it.\n\n### Manually\n\n```bash\n$ git clone https://github.com/k0nserv/luft.git\n$ cd luft\n$ open Luft.xcodeproj\n```\n\nIn Xcode press cmd + r\n\n## Defaults\n\nBy default the following rules are used to determine the color of the gutter\n\n| Number of lines  | Status |\n|------------------|--------|\n| \u003c 150            | ✅     |\n| \u003e= 150 and \u003c= 300| ⚠️     |\n| \u003e 300            | ⛔️     |\n\n## Known Issues\n\n+ Having the same file open in the assistant editor will not correctly reflect changes made in the active editor  \n+ Other Issues? Please open a github issue. \n\n## Screenshots\n\n![](Screenshots/screenshot.png)\n\n## License\nMIT, see `LICENSE.md`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0nserv%2Fluft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0nserv%2Fluft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0nserv%2Fluft/lists"}