【发布时间】:2015-10-18 10:58:49
【问题描述】:
我试图在以下代码上应用当前自定义字体加粗,我如何将它包含在字典中?
let normalWhite = [NSFontAttributeName : UIFont(name: "somefont", size: 16.0)!,NSForegroundColorAttributeName : UIColor.whiteColor()]
【问题讨论】:
-
不清楚你在问什么。您想将这些值添加到现有字典中,是吗?