SCLAlertView-Swift icon indicating copy to clipboard operation
SCLAlertView-Swift copied to clipboard

Type 'NSAttributedStringKey' (aka 'NSString') has no member 'font'

Open olivierto opened this issue 6 years ago • 1 comments

I have an issue since this morning ... I don't understand why it appears suddenly, even if i did not change a bit my project configuration...

app/Pods/SCLAlertView/SCLAlertView/SCLExtensions.swift:48:136: Type 'NSAttributedStringKey' (aka 'NSString') has no member 'font'

Pod version: 1.5.9 Project build settings : Swift 4.1 Pod build settings : Swift 4.1 (tryed Swift 3.3 as well)

I've tried to pick the PR#409 but with no success ...

Any one have this issue?

olivierto avatar Jul 03 '18 16:07 olivierto

Yes - there's a pull request addressing this issue. You need to change it to: NSAttributedString.Key.font

LeahV avatar Jul 04 '18 04:07 LeahV