You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why should this rule be added? Share links to existing discussion about what
the community thinks about this.
Using Interface Builder (storyboards or nibs) is a constant subject of heated debates in the iOS community. Some projects don't use it at all. For those cases, a rule validating the use of @IBAction and @IBOutlet would be helpful.
Provide several examples of what would and wouldn't trigger violations.
// would trigger@IBOutletvarlabel:UILabel!@IBActionfunc buttonTapped(_ sender:UIButton){}// wouldn't triggervarlabel:UILabel!@objcfunc buttonTapped(_ sender:UIButton){}
Should the rule be configurable, if so what parameters should be configurable?
Just severity.
Should the rule be opt-in or enabled by default? Why?
See README.md for guidelines on when to mark a
rule as opt-in.
Opt-in, as using IB or not is a project decision.
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Rule Request
the community thinks about this.
Using Interface Builder (storyboards or nibs) is a constant subject of heated debates in the iOS community. Some projects don't use it at all. For those cases, a rule validating the use of
@IBAction
and@IBOutlet
would be helpful.Just severity.
See README.md for guidelines on when to mark a
rule as opt-in.
Opt-in, as using IB or not is a project decision.
The text was updated successfully, but these errors were encountered: