-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force_unwrapping rule catches IBOutlet Collections in swiftlint 0.9.1 #546
Comments
force_unwrapping
rule catches IBOutlet Collections
I would think the IBOutelts should be caught by the force unwrap rule. They actually can be nil at times and cause a crash |
They are not forced unwrapping, but are defining properties of implicitly unwrapped optional. Those two are not the same. So |
Thanks for filing an issue. |
IBOutlets are always force unwrapped and generally the force_unwrap rule ignores them.
However it appears as though with swiftlint 0.9.1 it is catching IBOutlet collections. ie.
is ignored by the linter but
is not ignored
The text was updated successfully, but these errors were encountered: