-
Couldn't load subscription status.
- Fork 0
prohibited_interface_builder
Ian Applebaum edited this page Jun 13, 2020
·
1 revision
Creating views using Interface Builder should be avoided.
- Identifier: prohibited_interface_builder
- Enabled by default: Disabled
- Supports autocorrection: No
- Kind: lint
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: warning
class ViewController: UIViewController {
var label: UILabel!
}class ViewController: UIViewController {
@objc func buttonTapped(_ sender: UIButton) {}
}class ViewController: UIViewController {
@IBOutlet ↓var label: UILabel!
}class ViewController: UIViewController {
@IBAction ↓func buttonTapped(_ sender: UIButton) {}
}