Cosmos
Cosmos copied to clipboard
Xcode 9.2 compile issues
let size = NSString(string: text).size(attributes: [NSAttributedStringKey.font: font])
Thanks for reporting @marcioarantes-ww. It looks like the Swift Language Version and the version of the library are not the same. Please have a look at this issues: https://github.com/evgenyneu/Cosmos/issues/88, https://github.com/evgenyneu/Cosmos/issues/85.
Let me know if it helps.