implicitly_unwrapped_optional - ApplebaumIan/BitbucketAPI GitHub Wiki
Implicitly unwrapped optionals should be avoided when possible.
- Identifier: implicitly_unwrapped_optional
- Enabled by default: Disabled
- Supports autocorrection: No
- Kind: idiomatic
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: warning, mode: allExceptIBOutlets
@IBOutlet private var label: UILabel!@IBOutlet var label: UILabel!@IBOutlet var label: [UILabel!]if !boolean {}let int: Int? = 42let int: Int? = nillet label: UILabel!let IBOutlet: UILabel!let labels: [UILabel!]var ints: [Int!] = [42, nil, 42]let label: IBOutlet!let int: Int! = 42let int: Int! = nilvar int: Int! = 42let int: ImplicitlyUnwrappedOptional<Int>let collection: AnyCollection<Int!>func foo(int: Int!) {}