Pattern: Use of as!
Issue: -
Force casts should be avoided.
Examples of correct code:
NSNumber() as? Int
Examples of incorrect code:
NSNumber() ↓as! Int
Pattern: Use of as!
Issue: -
Force casts should be avoided.
Examples of correct code:
NSNumber() as? Int
Examples of incorrect code:
NSNumber() ↓as! Int