-
Couldn't load subscription status.
- Fork 0
force_cast
Ian Applebaum edited this page Jun 13, 2020
·
1 revision
Force casts should be avoided.
- Identifier: force_cast
- Enabled by default: Enabled
- Supports autocorrection: No
- Kind: idiomatic
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: error
NSNumber() as? IntNSNumber() ↓as! Int