This Xcode plugin changes the order of the attributes when creating an IBOutlet
in Xcode.
IBOutlint | |
---|---|
✅ | No method swizzling needed |
🚀 | Saves you hours of boredom by not having to manually fix the order |
✨ | Super easy installation |
👴 | In Objective-C, for Objective-C |
💪 | Works for strong properties too |
You can install IBOutlint
using Alcatraz.
First, install Alcatraz using
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
- Restart Xcode
- Click on
Window
- Select
Package Manager
- Search and Install
IBOutlint
- Restart Xcode
You can also install the plugin manually by cloning this repository and building the project. It'll be installed on ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/IBOutlint.xcplugin
.
You should restart Xcode after that.
The primary goal of this plugin is to change the order of the attributes when creating an IBOutlet
. By default, Xcode uses (strong|weak), nonatomic
, but everyone knows that The Right Way™ to declare a propery is nonatomic, (strong|weak)
and this plugin fixes that.
You're welcome.
- @leoformaggio for naming the plugin
- This README template was shamelessly copied from @neonacho's FixCode
- @orta for blogging about his experience on building a Xcode plugin
- @kattrali for providing a template for Xcode plugins
Please submit an issue on GitHub and provide information about your setup.
This project is licensed under the terms of the MIT license. See the LICENSE file.