I\'m moving from swift 3 to swift 4. I have UILabels that I am giving very specific text properties to the label. I\'m getting an \'unexpectedly found nil while unwrapping
In Swift 4.x, this should look like :
let strokeTextAttributes: [NSAttributedStringKey: Any] = [ NSStrokeColorAttributeName: UIColor.black, NSForegroundColorAttributeName : UIColor.white, NSStrokeWidthAttributeName : -2.0, NSFontAttributeName : UIFont.boldSystemFont(ofSize: 18) ]